Question

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: Here is what I am getting:

Google this already and it looks like my setup should work, Can anyone please help?

Was it helpful?

Solution 2

Backup is executed by TFS Job Service: check also TFS user's permissions.

OTHER TIPS

Please try this one:

  • configure your SQL Account to run under domain\tfsservice instead of tfsservice@domain.com
  • configure your TFSBackup

The network share has to have computer (machine) based security rights. Here are the steps you have to do:

  • Open the properties of the shared folder on target machine.
  • Open the "Security" tab
  • Click on "Edit" button under the "Group or user names" frame. This will open the folder permissions window
  • Click "Add" on the "Permissions for ..." window. This will open the user/group selection window
  • Click "Object Types" button on the selection window. This will open the "Object Types" window
  • Select "Computers" on the "Object Types" window. Click on "Ok". This will close the "Object Types" window
  • Enter the target machine name into the object name frame. You can use the "Check Names" button to validate the name or use the "Advanced" button to select the computer from the domain objects list. Click on "Ok" and close the user/group selection window
  • Select the recently added computer object on the permissions window and give it the required permissions.
  • Close the remaining windows by clicking "Ok"

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top