There are two TFS servers. We need to move data from first server to second server. We need to move all data else workspaces and build controller settings. But if to do backup of first TFS server, then it contains these data too….
Is there some way to remove workspaces and build controller settings from TFS backup (before it will be restored to second server)?
Thanks to Richard, I will specify the question: did somebody manage to find the set of sql commands for to delete from backup database (yes, TFS2010) the data about workspaces and build controller settings and break nothing?
I’m fairly confident that the answer is, unfortunately, No.
TFS backup (including backup to restore on another server) is at the database level, and that is where all the state is held. To move only part of the data would require moving only part of the database1.
It is quite possible to use the command line to enumerate and delete workspaces (see
tf workspace /delete) of other users from account with sufficient access.1 Or database*s* is using TFS 2005 or 2008.