将 TFS 2012 集合复制到另一台安装了 TFS 2015 的服务器 [英] Copy TFS 2012 collection to another server with TFS 2015 Installed

查看:22
本文介绍了将 TFS 2012 集合复制到另一台安装了 TFS 2015 的服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一台安装了 TFS 2012 的旧服务器.它具有项目集合的DefaultCollection".我们想将DefaultCollection"集合复制(不移动,即保留集合)到另一台安装了 TFS 2015 的机器.

We have an old server machine with TFS 2012 installed on it. It has the 'DefaultCollection' of project collection. We want to copy (not move, i.e. leaving the collection in place) the 'DefaultCollection' collection to another machine which has TFS 2015 installed.

请问我们该怎么做?

谢谢阿希隆

推荐答案

这在一定程度上取决于您的 TFS 安装的复杂程度,但以下是在没有 Sharepoint 的情况下更简单的单台服务器设置的步骤:

It depends a bit on how complicated your TFS installation is, but here are the steps for a simpler one server setup without Sharepoint:

  1. 使用团队从您当前的 TFS 2012 中分离集合Foundation Server 管理控制台.这会将配置复制到集合数据库中.
  2. 使用 SQL Server Management Studio (SSMS) 对集合数据库(称为 Tfs_DefaultCollection)进行完整备份.
  3. 在您的 TFS 2012 服务器上恢复原始集合
  4. 使用 SSMS 重新附加 TFS 2015 服务器上的数据库.请注意,如果您已经在此服务器上创建了一个名为 DefaultCollection 的集合,则您需要删除/重命名它或使用新名称恢复克隆的集合.
  5. 使用团队将集合附加到您的 TFS 2015 服务器上Foundation Server 管理控制台
  6. 开始收集,使其进入 Online 状态.
  7. 请注意,构建服务器、放置位置等现在将指向原始集合和克隆集合中的相同内容,因此您需要进行一些清理.

以上是一个简短的版本:https://msdn.microsoft.com/en-us/library/dd936158(v=vs.110).aspx

The above is a shorter version of this: https://msdn.microsoft.com/en-us/library/dd936158(v=vs.110).aspx

我已成功使用上述方法进行了从 TFS 2010 到 TFS 2013 RTM 的测试迁移,然后迁移了我们的生产环境.在应用到生产之前,我们使用带有测试迁移的服务器来测试新更新,并且我们已经使用了从 2013 RTM 到 2015 Update 3 的所有更新.我目前正在应用相同的方法升级到 2017 以获得新的服务器使用从不使用 SQL 版本.

I have successfully used the above approach to make a test migration from TFS 2010 to TFS 2013 RTM followed by the migration of our production environment. We use the server with the test migration for testing new updates before applying to production and we have done so with all updates from 2013 RTM until 2015 Update 3. I am currently applying the same approach in upgrading to 2017 in order to get a fresh server with never version of SQL.

这篇关于将 TFS 2012 集合复制到另一台安装了 TFS 2015 的服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆