TFS Express Backup and restore

Source: Internet
Author: User
Tags management studio

When we setup source control server, we should always make a backup and restore plan for it. This article are to describe how to backup and restore a for TFS Express instance from one server to another server.

This blog is a Chinese version, for Chinese version please check below URL:

Http://www.cnblogs.com/aspnetx/p/4579233.html

?

?

Below is the key points for the backup and restore.

Steps:

    • Backup Database
    • Install another TFS Express instance and finish config
    • Restore Backup database to new server.
    • If needed, install ASP. NET MVC 4
    • Change application Instance ID

?

First, we should create a backup plan, open Team Foundation Server Express Administration Console, then click Scheduled Ba Ckups.

Create A backup plan, fill a network backup path, and please note the local path isn't allowed, only share folder is Acce Pted.

Then set the "Schedule for the" Backup plan, by default, all Sunday for a full backup and working day for differential BA Ckup, then apply transitional backup interval by minutes.

Then the wizard would applied the job setting.

After the setting finish, it's suggested to run a full backup immediately, close the backup setup, click ' Take full Backu P Now "to start a full backup, later the differential backup and transitional backup would be based on this.

Go to the backup folder and you can see the backup files. The databases which is supported TFS Express running would be the backup by default, if you only has one collection, one is T Fs_configuration, the other one is tfs_defaultcollection.

?

The backup is finished so far and below phase is what to restore the instance.

After install the TFS Express on another server, and finish the basic configuration, open the SQL Express using Management Studio, restore them one by one.

?

And what we should pay attention is the IIS, sometimes ASP. NET MVC would be lost (Browse TFS Web page, error message Reporte D:SYSTEM.WEB.MVC is lost), when this happens, go to below ASP. NET official Web site to download ASP 4, please do not E The version is 4, As-is latest version is already 5.

https://www.microsoft.com/en-us/download/details.aspx?id=30683

After the ASP 4 is installed, the last step is sync the application ID, the value is stored in Web. config, copy th E value from source server, and then replace it into the new server.

?

Then open the TFS Web site and you'll see the whole resource is migrated from the old server to new server, including sour Ce code, and task items.

TFS Express Backup and restore

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.