Replicate Team foundation server project to another team foundation server

邮差的信 提交于 2019-12-10 12:16:32

问题


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:

  1. Install TFS Power Tools.
  2. Map source directories for teamfoundationserver1 and teamfoundationserver2.
  3. Create the team project in teamfoundationserver2.
  4. Check out a read-only copy of your team project from teamfoundationserver1.
  5. Copy and paste in Windows Explorer over to teamfoundationserver2.
  6. Right click the project folder, select Team Foundation Server -> Add....
  7. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!