问题
Currently I am working on a teamfoundationserver1. I want to replicate my project from teamfoundationserver1 to my local teamfoundationserver2. Please suggest me the steps to perform this action. I am novice in this so please suggest me a good article or step by step implementation of this.
回答1:
My suggestion, based on what you've said you require would be:
- Install TFS Power Tools.
- Map source directories for
teamfoundationserver1
andteamfoundationserver2
. - Create the team project in
teamfoundationserver2
. - Check out a read-only copy of your team project from
teamfoundationserver1
. - Copy and paste in Windows Explorer over to
teamfoundationserver2
. - Right click the project folder, select
Team Foundation Server -> Add...
. - Answer the dialog questions and finish.
You should now have your team project listed as pending changes for teamfoundationserver2
.
If you want to bring history across, too then have a look at this.
回答2:
You can detach the team project collection from TFS1, backup the SQL database, re-attach the team project collection to TFS1, restore SQL database to the SQL server of TFS2 then attach the team project collection to TFS2
来源:https://stackoverflow.com/questions/24263379/replicate-team-foundation-server-project-to-another-team-foundation-server