tfs2012 migration, use only source code control

Source: Internet
Author: User

Background: In the virtual machine installed TFS, later found that the C disk space is too small, run the card, ready to reconfigure a virtual machine as a TFS server. Install the same version of TFS, the database (at least the same as the original version, or a later version, or the database is not attached).

1. Make sure all code is checked in

2. In the TFS Management Console, detach the project collection that you want to migrate. Next step, then.

3, in SQL Server right-click to separate the database of the project collection, the general default TFS_ your project

4. In the database installation directory, locate the detached database file (C:\Program Files\Microsoft SQL Server\mssql11. Mssqlserver\mssql\data), to the new virtual machine. Or put it in the installation directory of the database.

5. Attaching a database in SQL Server

6. In the TFS Management Console, attach the collection. Type the database instance name and click List available databases. Next step, verify the Attach.

7. Click Team in VS, connect TFS, add a new TFS name or URL. Connect to the newly attached project collection.

8. On the right side of VS, click Source Control. I'm suggesting here that there is no workspace to create a workspace. Re-create the workspace map to a new local folder. Wait for the update to complete

9. Open the project in a new folder. Complete

tfs2012 migration, use only source code control

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.