Reputation: 561
This is a "Answer Your question" type of the post. Just hope the information here will help anyone.
Situation:
TfcConfigure RemapDB
domainname\TFSService
= service account to run TFSProblem:
domainname\TFSService
Error “TF400998: The current user failed to retrieve the SQL Server service account information” when trying to configure backup plan in TFS 2015
Question:
Upvotes: 3
Views: 3490
Reputation: 3623
In TFS2015 simply make sure that:
MachineA
and MachineB
are in the domain and a user "yourDomain\username" is added Application Tier
>> Administration Console Users
Take Full Backup Now
throw Scheduled Backups
and move the backup to MachineB
network share, as a restore process might fail throw network.TFS Admin console
on MachineB
and Remove Application Tier feature
if exists.Use SQL Managment Studio
to remove Tfs_configuration and other Tfs_* databases on MachineB
In TFS Admin Console of MachineB
, you will have only option to restore under Scheduled Backup.
After restoring process on MachineB
Launch the Application-Tier Onlywizard (right click on Application Tier in TFS Admin Console).In Databases, specify the new SQL Server instance(
MachineB/sqlexpress`) where you restored the TFS databases
Upvotes: 2
Reputation: 561
Solution:
domainname\TFSService
account local Administrator
permissions on Your TFS Serverdomainname\TFSService
account the sysadmin
role in Your SQL Instance used to run TFSdomainname\TFSService
account Log on as a service
permissions on the TFS Server (HOWTO)domainname\TFSService
(HOWTO)domainname\TFSService
, than permissions on the UNC should also be given to domainname\TFSService
Rerun the TFS "Scheduled Backup" configuration. Should resolve the error.
Sorry if this obvious or straight forward and considered as spam/flooding. Just spent over 3-4 hours. Hopefully this helps people save time and nerves.
Upvotes: 2