TFS:将团队项目从一台服务器移动到另一台服务器?

发布于 2024-07-15 20:29:36 字数 129 浏览 3 评论 0原文

有没有一种(简单)方法将单个 TeamProject 从一台服务器移动到另一台服务器? 包括源代码、工作项、文档、项目站点...

我们不想将服务器从一台机器移动到另一台机器。 只是从服务器 A 到服务器 B 的一个项目。

is there a (simple) way to move a single TeamProject from one server to another? Including source code, work items, documents, project site...

We don't want to move our server from one machine to another. Just a single project from server A to server B.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

永言不败 2024-07-22 20:29:36

您有两个选择

  1. 您可以使用 TFS 到 TFS 迁移工具:单击此处。 这不包括 WSS 项目站点。

  2. 或者您可以备份 TFS 数据库并在新的 TFS 实例上还原,然后使用 TFSDeleteProject.exe 工具删除您不需要的项目。

后一个选项是最简单的,但不会将备份的项目与目标实例上的任何现有项目合并。 现有项目将会丢失。 WSS 站点也可以通过这种方式移动。 请参阅如何:备份 Team Foundation Server

You have two options

  1. You can use the TFS to TFS migration tool: Click Here. This doesn't include the WSS project site.

  2. Or you can backup your TFS db and restore on a new TFS instance, then use the TFSDeleteProject.exe tool to remove the projects you don't want.

The latter option is the easiest, but will not merge the backed up projects with any existing projects on the target instance. Existing projects will be lost. WSS sites can also be moved in this manner as well. See How to: Back Up a Team Foundation Server

蘸点软妹酱 2024-07-22 20:29:36

TFS 到 TFS 迁移工具已过时。 您正在寻找的功能是 TFS 集成平台的一部分。

请访问 http://tfsintegration.codeplex.com/ 了解更多信息。

The TFS to TFS migration tool is obsolete. The features you are looking for is part of TFS Integration Platform.

Goto http://tfsintegration.codeplex.com/ for more info.

Hello爱情风 2024-07-22 20:29:36

在 TFS 2010 中,您可以使用 TFS 管理控制台分离项目集合数据库,然后将其重新附加到另一个 TFS 服务器。
http://msdn.microsoft.com/en-us/library/dd936138.aspx

In TFS 2010 you can detach the Project Collection database using the TFS Admin Console and then re-attach it to another TFS Server.
http://msdn.microsoft.com/en-us/library/dd936138.aspx

凉城已无爱 2024-07-22 20:29:36

如果您希望将整个项目集合从一台 TFS 服务器移动到另一台:

1) 通过管理控制台分离集合。

2) 使用SSMS备份Tfs_SomethingCollection数据库,然后将其恢复到其他数据库服务器。

3) 在第二个 TFS 管理控制台上,附加项目集合。 它将显示为可附加的可用集合,因为它已在第二个 sql server 实例中恢复。

我没有迁移 Tfs_Configuration 数据库。 就我而言,我没有使用报告服务、构建服务或共享点。

我没有安装第二个 TFS 服务器,想知道安装时选择什么选项,以及是否应该在恢复迁移的数据库之后或之前安装它(这并不重要):在第二台机器上安装 TFS。 如果 TFS 及其数据库实例位于不同的服务器上,则选择高级配置并指定数据库服务器实例的名称。 当您有机会创建 DefaultCollection 时,请选择跳过该步骤。 安装将在新服务器上创建一个新的 Tfs_Configuration DB。 然后按照上述步骤将集合数据库迁移到新的数据库服务器实例并附加它。

程序员需要将新服务器添加到团队资源管理器,并对每个解决方案连续两次单击“更改源代码控制...”。 确保本地路径映射正确,然后绑定每个解决方案/项目。

If you want an entire Project Collection to be moved from one TFS server to another:

1) Detach the collection via Admin Console.

2) Backup the Tfs_SomethingCollection database using SSMS, then restore it to the other database server.

3) On the second TFS Admin Console, attach the project collection. It will show up as an available collection to attach just because it has been restored in the second sql server instance.

I did not migrate the Tfs_Configuration database. In my case I was not utilizing reporting services, build services, or sharepoint.

I hadn't installed the second TFS server and was wondering, what options to choose when installing, and if you should install it after or before restoring the migrated DB(it doesn't really matter): Install TFS on the second machine. If TFS and its database instance will be on seperate servers, then choose Advanced configuration and specify the name of the DB server instance. When you have an opportunity to create a DefaultCollection, then opt to skip that step. The install will create a new Tfs_Configuration DB on the new server. Then follow the above steps to migrate the collection DB to the new DB server instance and attach it.

Programmers will need to add the new server to Team Explorer, and hit Change Source Control... twice in a row for each solution. Make sure the local path mappings are correct, and then Bind each solution/project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文