1. 程式人生 > >TFS Express backup and restore

TFS Express backup and restore

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

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

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 Backups.

Create a backup plan, fill a network backup path, and please note the local path is not allowed, only share folder is accepted.

Then set the schedule for the backup plan, by default, always Sunday for a full backup and working day for differential backup, then apply transitional backup interval by minutes.

Then the wizard will applied the job setting.

After the setting finish, it is suggested to run a full backup immediately, close the backup setup, click "Take Full Backup Now" to start a full backup, later the differential backup and transitional backup will be based on this.

Go to the backup folder, you can see the backup files. Two databases which are supported TFS Express running will be backup by default, if you only have one collection, one is Tfs_Configuration, the other one is Tfs_DefaultCollection.

The backup is finished so far, below phase is how 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 will be lost(Browse TFS web page, error message reported: System.web.mvc is lost), when this happens, go to below asp.net official web site to download ASP.NET MVC 4, please note the version is 4, as-is latest version is already 5.

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

Then open the TFS web site, you will see the whole resource are migrated from the old server to new server, including source code, and task items.

相關推薦

TFS Express backup and restore

When we setup source control server, we should always make a backup and restore plan for it. This article is to describe how to backup and restore a TFS Ex

suitecrm 如何backup and restore ,從一個server 轉移到另一個 server . 並保證customer package , customer module 不丟

config apache 技術 command with led ins data mage 原server部分 1 : suite backup 分為 數據庫和 網站 兩部分 , 在 網站目錄下 config.php , 可以看到 數據庫名字 等信息 。 在

Amazon RDS Backup and Restore

Using Amazon RDS, you can share a manual DB snapshot or DB cluster snapshot with other AWS accounts. Sharing a manual DB snapshot or DB cluster

Backup and Recovery Basics2

決定 系統表 ndb 找到 tran 數據庫操作 ase 閃回表 解決辦法 1.6、Automatic Disk-Based Backup and Recovery: The Flash Recovery Area 創建不同備份和恢復文件的組件對每一個文件系統的大小沒有

TensorFlow Low-Level-APIs Save and Restore學習筆記

Save and Restore 本文翻譯自tensorflow官方網站的教程,只作為個人學習筆記,請勿用作商業用途。 tf.train.Saver類提供了儲存和提取模型的方法。tf.saved_model.simple_save函式也是一種簡單的方法來儲存模型

MySQL 5.7 Reference Manual :: 4.5.4 mysqldump & mysql — Database Backup & Restore Program

MySQL :: MySQL 5.7 Reference Manual :: 4.5.4 mysqldump — A Database Backup Programhttps://dev.mysql.com/doc/refman/5.7/en/mysqldump.html mysqldump備份還原和mys

Raid, backup and archive

This is a short tutorial about the similarities and the differences of redundant storage, backup, and archive functionality. I felt a need to create th

Backup and Data Protection Solutions

The exponential growth of data worldwide has made managing backups more difficult than ever before. With traditional methods such as tape librari

Backup and Recovery Partner Solutions

Washington State’s King County is one of the fastest-growing counties in the United States. The county government previously used t

Backup and Recovery Approaches Using AWS

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Back Up and Restore a Deployment

Learn how to create an on-demand backup of a database deployment, and how to restore a deployment from a backup.

[BI專案記]-TFS Express備份和恢復

在專案中對TFS進行備份操作是日常重要的工作之一,此篇主要描述如何對TFS Express進行備份,並且在另外一臺伺服器上進行恢復。 以下是操作的幾個關鍵點: 備份資料庫,在TFS管理工具中就可以完成。 在另外一臺伺服器中安裝TFS Express,然後完成基本配置。 恢復備份的資料庫到新伺服

How To Search and Restore files from Site Collection Recycle Bin

2015-12-11 15:17 by 努力學習的小熊, ... 閱讀, ... 評論, 收藏, 編輯 $sitecoll = Get-SPSite "http://wheresmydoc.findit.com" $sitecol

IO Redirection in C++ (redirect cin/cout to file stream, and restore)

Author: YuMaNzI 2014/01/19 #include<iostream>#include<fstream>#include<string>void f(){ std::string line;while(st

Brocade SAN Switch CFG backup and recover

通常,我們在執行SAN交換機變更之前,需要先對SAN交換機的配置做一次備份,尤其是在刪除ZONE配置,或者一些其他重大變更。 那麼本文主要探討如何來做SAN交換機的備份和恢復。 1. 備份 switch:admin> configupload Protocol (s

pri master hard disk:S.M.A.R.T. status BAD,backup and replace press FX to resume

第一主硬碟(系統盤):SMART(Self-Monitoring,Analysis and Rep orting Technology,即自我監測、分析及報告技術)狀態:有損壞,備份及替換,按F1返回F11啟動選單F12聯網啟動關於S.M.A.R.T全稱為“Self-Monitoring,Analysis a

轉 RMAN: RAC Backup, Restore and Recovery using RMAN

scrip datafile local ESS was str alter n-1 rate PURPOSE The purpose of this document is to give a quick guide for using RMAN on RAC d

1950261 - SAP HANA Database Backup Policy Recommendations and Regular Backup Script

=====Symptom For SAP Business One, version for SAP HANA users, SAP HANA provides a range of database backup and recovery functions. You must follow the ins

sql server - Restore database backup from a different database name

situation:  DB1, DB2( not exists) 1. create backup of DB1, db1.bak 2. restore to DB2 with db1.bak     1) list the logic name

A Proposal for RESTful API’s with Mongoose and Express

A Proposal for RESTful API’s with Mongoose and ExpressThroughout my journey to becoming a developer, there has always been a sage group of developers in my