TFS 2010 Migration/Reload/restore steps

Source: Internet
Author: User

1. Check in all code

2. Stop the TFS Service: Run the command line and switch the path to the TFS installation path: C:\Program Files\Microsoft Team Foundation Server 2010\tools

Run: Tfsservicecontrol quiesce

3. Backup (or Detach) TFS database

4. Restore the TFS database to the new server's database

5: Install TFS Server on a new server

6. Run the command line and switch to the TFS Server installation path: C:\Program Files\Microsoft Team Foundation Server 2010\tools

Execute the following command in turn: note: sqlinstance, account, DatabaseName and other parameters are modified according to the actual situation, where account is generally filled with the administrator user name

TFSConfig Prepsql/sqlinstance:localhost

TFSConfig accounts/resetowner/sqlinstance:localhost/databasename:tfs_configuration

TfsConfig Accounts/add/accounttype:applicationtier/account:administrator/sqlinstance:localhost/databasename:tfs _configuration

TfsConfig Accounts/add/accounttype:reportingdatasource/account:administrator/sqlinstance:localhost/databasename : TFS_Configuration

The above command will prompt the log to save the path, if an error can go to C:\ProgramData\Microsoft\Team foundation\server configuration\logs open the corresponding log, to see the specific error

In particular the implementation of TfsConfig Accounts/add/accounttype:applicationtier/account:administrator/sqlinstance:localhost/ Databasename:tfs_configuration

This command, may appear to add user to tfs_configuration failure error, generally because the database already exists to add the user, and the user owns the schema, causing TFSConfig to add the user can not automatically delete it, so this time to manually delete the corresponding schema, Then delete the user, and then re-execute the error command line

7. Open the team Foundation Server administration Console and select the Application Tier Only wizard on the left to follow the prompts to configure it step-by-step.

Reference: http://msdn.microsoft.com/zh-cn/library/vstudio/ms404869 (v=vs.100). Aspx#updatenetworkservice

TFS 2010 Migration/Reload/restore steps

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.