back to stuff
A brief procedure on how to restore a TFS 2010 backup on a new machine with only the necessary stuff
cmd.exe
TFSServiceControl quiesce
TFSConfig PrepSQL /SQLInstance: ServerName
, replacing ServerName
with the name of the SQL Server instance you installed on the first stepTFSConfig RemapDBS /DatabaseName:servername;TFS_Configuration /SQLInstances:servername /Continue
TFSConfig Accounts /ResetOwner /SQLInstance: ServerName /DatabaseName: DatabaseName
TFSConfig Accounts /add /AccountType:ApplicationTier /account: AccountName /SQLInstance: ServerName /DatabaseName: DatabaseName
TFSConfig registerDB /SQLInstance: ServerName /DatabaseName: DatabaseName
tfsservicecontrol unquiesce
back to stuff