问题描述
我有两台 TFS 服务器 - 一台运行 2008 年,另一台运行 2018 年.我需要将一个项目(不是全部)从 TFS 2008 服务器移动到新的.我只需要迁移源代码,但还想维护所有版本和签入历史.是否有可以实现此目的的升级过程或实用程序?谢谢
I have two TFS servers - one running 2008 and the other running 2018. I need to move one project (not all) from the TFS 2008 server to the new one. I only need to migrate the source code but would like also maintain all version and checkin history. Is there an upgrade process or utility that can achieve this? Thanks
推荐答案
如果您想维护所有版本和签入历史记录.唯一的方法是使用数据库升级 TFS 服务器 2008.
If you want to maintain all version and check-in history. The only way is upgrading TFS server 2008 with database.
TFS 2012 和更新版本支持直接升级到 Team Foundation Server 2018 Update 2.由于您的 TFS 部署是在 TFS 2008 上,您需要在升级到 TFS 2018 Update 之前执行一些临时步骤2. 详情请见下表.
Direct upgrade to Team Foundation Server 2018 Update 2 is supported from TFS 2012 and newer. Since your TFS deployment is on TFS 2008, you will need to perform some interim steps before upgrading to TFS 2018 Update 2. Please see the chart below for more information.
如果您要更改基于恢复的移动的硬件,则不应将两种移动类型结合使用.先完成硬件搬家,再换环境:https://docs.microsoft.com/en-us/vsts/tfs-server/admin/move-across-domains?view=tfs-2015v
If you want to change the hardware which is a restoration-based move, and you should never combine the two move types. First complete the hardware move, and then change the environment: https://docs.microsoft.com/en-us/vsts/tfs-server/admin/move-across-domains?view=tfs-2015v
在移动硬件/域之前就地升级是否最好?
您可以进行就地升级,或迁移到新硬件.如果您要就地升级,请考虑执行 在预生产环境中试运行您的升级,并确保 系统环境满足.
You could do in place upgrade, or move to new hardware. If you're upgrading in place, consider doing a dry run of your upgrade in a pre-production environment, and make sure the system environment is meet.
有什么特别值得我警惕的陷阱吗?
升级前,您可以阅读这篇文章,并确保你有完整的数据库备份.
Before upgrade, you can read this article first, and be sure you have full backup of your database.
这篇关于将项目迁移到 TFS2018的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!