开发者

How to automatically backup TFS 2010

I'm evaluating Team Foundation Server 2010.

I would like to know if there is some command li开发者_StackOverflow中文版ne to backup my TFS data. I currently have a folder sent to the cloud. This backup contains all the data I need to back up (like MySql databases, word documents, ...)

What I want is a way to automatically backup my TFS collections (and any other important TFS data) in one (or more) file in this directory.

A command line would be perfect.


The TFS documentation online covers this.

If you are using full SQL Server you can use SQL Server Agent to schedule database backups, otherwise use Windows task scheduler (via one of the SQL command line tools). But you do need to write the SQL script to do the backing up, this is explained in some detail in the documentation linked above.

(There is no simple command line because simple installations have different needs to complex ones, e.g. on a large instance backups can take many hours and issues of synchronisation of the backups becomes complex.)

Additional [edit 2010-08-24] the next TFS PowerToys have been announced to include backup and recovery tools (targeted for non-large scale TFS setups). See the blog post: "Backing up and Restoring your TFS Server"


This might be of help to you as it explains a full detailed Backup with many different methods.

http://msdn.microsoft.com/en-us/library/ms253070.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜