I am getting TF400997 when I am trying to configure TFS Scheduled backup using TFS Admin console. Here is my setup:
SQL Server name: Machine1 SQL Server service running under: sqlserverservice@domain.com (which is a domain user and local admin on Machine1 and Machine2) SQL Server agent service running under: sqlserverservice@domain.com
TFS server name: Machine2 TFS service running under: tfsservice@domain.com (local admin on Machine2 and Machine1) Network backup path: \Machine2\Backup (gave full permission to sqlserverservice@domain.com on Backup folder)
This is what I am getting while verifying the settings and it does not allow me to setup scheduled backup:
Google this already and it looks like my setup should work, Can anyone please help?
Backup is executed by TFS Job Service: check also TFS user's permissions.
Please try this one:
domain\tfsservice
instead oftfsservice@domain.com
The network share has to have computer (machine) based security rights. Here are the steps you have to do:
and voila!
The only tip I could mention is that you shouldn't use a subfolder from another share. It's possible but most probably you would end up dealing with mixed permissions.
PS: The SQL Service on TFS should be either in "Network Service" or "SYSTEM" context. Local account service logons won't gain access to the network share with these steps.
go to services and make this service SQL Server(SQLEXPRESS) log on as administrator