Forum Discussion
Change Azure Devops Source Control Database
Found this link: https://docs.microsoft.com/en-us/azure/devops/server/admin/backup/restore-data-different-instance?view=azure-devops-2020#:~:text=Restore%20data%20to%20a%20different%20server%20than%20the,new%20location%20of%20the%20content%20database.%20More%20items
Is this all we'd have to do is run this for our instance and TFS_Configuration ?
TfsConfig registerDB /SQLInstance: ListenerAG /DatabaseName: TFS_Configuration
Would that automatically update the collections or is that all just managed in the Configuration database?
To register the location of the databases:
On the application-tier server, open a Command Prompt window, and change directories to Drive:\%programfiles%\Azure DevOps Server 2019\Tools.
At the command prompt, enter the following command, where DatabaseName is the name of the configuration database (by default, TFS_Configuration):
TfsConfig registerDB /SQLInstance: ServerName /DatabaseName: DatabaseName
For more information, see RegisterDB command.