Move TFS Database to another SQL Instance


Some high level steps involved in moving TFS Database to another instance.
Tuesday, March 28, 2017
3:13 PM

iisreset /stop

TfsServiceControl.exe quiesce

tfsconfig remapdbs /databasename:{TFSServerName}\{SQLInstanceName};Tfs_Configuration /SQLInstances:{TFSServerName}\{SQLInstanceName} /AnalysisInstance:{TFSServerName}\{SQLInstanceName} /AnalysisDatabaseName:TFS_Analysis

tfsconfig repairjobqueueTFSCOnfig Accounts /ResetOwner /SQLInstance:{TFSServerName}\{SQLInstanceName} /DatabaseName:TFS_Configuration

TFSCOnfig Accounts /ResetOwner /SQLInstance:{TFSServerName}\{SQLInstanceName} /DatabaseName:TFS_Configuration

TFSConfig RegisterDB /SQLInstance:{TFSServerName}\{SQLInstanceName} /databaseName:TFS_Configuration

IISReset

TFSServiceControl unquiesce

Comments

Popular posts from this blog

SP optimization with TVF, View

Project Professional 2013 Error 12015

SSRS issue on SQL Server 2012 SP3 -The version of the report server database is either in a format that is not valid, or it cannot be read