TFS:从2005升级到2008并同时迁移到新硬件
我们当前的环境在单个服务器安装上安装了 TFS:
- Windows Server 2003 标准版 SP2(32 位)
- TFS 2005
- SQL Server 2005 标准版
由于我们组织中不断推动虚拟化,我们需要将 TFS 迁移到新硬件。由于我们拥有 TFS 2008 的许可证,我们希望再次在单服务器安装上获得以下内容:
- Windows Server 2008 32 位
- TFS 2008
- SQL Server 2008 Enterprise Edition(我们需要此许可证级别才能移动计算机) (在虚拟环境中)
最重要的是,我们必须保留代码签入历史记录。理想情况下,我们也希望保留所有入住日期和备注。
我发现了几个类似的问题:
将 TFS 2005 数据库附加并升级到 TFS 2008 安装
从 Team Foundation Server 2005 导入到 2008
但是第一个答案说只需阅读手册,浏览完后我找不到有关此特定场景的指导。第二个问题是一个稍微不同的场景,因为我们在新的 TFS 环境上还没有任何项目 - 我们甚至还没有构建它!我们可以从全新的 TFS 2008 安装开始。
那么问题是,如果有的话,最好的方法是什么?我们可以设置新环境并使用TFS集成工具 但由于限制,我们会丢失一些信息(例如入住备注)。
我想肯定有办法将 TFS 2005 数据库升级到 2008 版本并将它们附加到新的 SQL Server 吗?
如果有人可以提供建议,我将非常感激。
更新 是否可以备份现有的 TFS 2005 安装,然后将其升级到 2008,然后按照 这些说明?
Our current environment has TFS on a single server installation:
- Windows Server 2003 Standard Edition SP2 (32-bit)
- TFS 2005
- SQL Server 2005 Standard Edition
Due to an ongoing drive towards virtualisation in our organisation, we are required to move TFS to new hardware. As we have a licence for TFS 2008 we would like to end up with the following, again on a single server installation:
- Windows Server 2008 32-bit
- TFS 2008
- SQL Server 2008 Enterprise Edition (we need this licence level to be able to move machines around on the virtual envionrment)
Most importantly, we must retain our code check-in history. Ideally, we would like to retain all our check-in dates and notes too.
I have found a couple of questions on SO that are similar:
Attach and upgrade TFS 2005 databases to a TFS 2008 installation
Import from Team Foundation Server 2005 into 2008
However the first answer says to just read the manual, and having looked through it I can't find guidance on this specific scenario. The second question is a slightly different scenario as we don't already have any projects on the new TFS environment - we haven't even built it yet! We have the benefit of starting with a brand new TFS 2008 installation.
The question is then, what is the best way of doing this, if any? We can set up the new environment and use the TFS Integration Tools but due to the limitations we will lose some information (e.g. check-in notes).
I'm thinking that there must surely be a way of upgrading the TFS 2005 databases to the 2008 version and attaching them to the new SQL Server?
If anyone can advise I'll be extremely grateful.
Update
Would it be possible to backup and then upgrade the existing TFS 2005 installation to 2008, and then perform a migration as per these instructions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果是我,我会采取相反的方式:[将 TFS 2005 实例移动]到新硬件,然后从 2005 升级到 2008。原因是:万一升级过程中出现问题,您的旧硬件上仍然有一个运行的 2005 年服务器实例。
(如果您在现有的 2005 服务器上进行升级并且出现问题,则从备份恢复可能需要一段时间。)
If it were me, I would do it the opposite way: [move your TFS 2005 instance] to the new hardware, then do the upgrade from 2005 to 2008. The reason being: in the unlikely event that something goes wrong in the upgrade, you've still got a working 2005 server instance on your old hardware.
(If you do the upgrade on your existing 2005 server and something were to go wrong, that restore from backup could take a while.)
感谢@Edward 的建议,这些建议完全有道理。不幸的是,在研究这样做时,我发现 Windows Server 2008 不支持 TFS 2005,因此我无法这样做。
我最终做了我最初建议的事情(就地升级然后迁移)。我列出了以下步骤,以防其他人想要这样做。请注意,这些步骤并不详尽,但它们是您需要遵循的一般过程,并提供指向正确文档的指针。
新服务器:
2008)根据 TFS 2008
安装指南
文件与 TFS 2008 SP1 以便
支持 SQL 2008 (相同安装指南)
(相同的安装指南)
这阻碍了维护计划
避免在没有 SSIS 的情况下运行
旧服务器:
数据库备份
支持TFS 2008
TFS 2008 安装指南
2008
数据库
MSDN指南
数据库
2.0> WSS 3.0(新服务器是Windows Server 2008,仅
支持 3.0),按照 MSDN 指南
指南
我首先在一些一次性虚拟服务器上尝试了这一切,这是非常值得的。整个过程(包括测试、与用户沟通等)花了一周多的时间!
Thanks to @Edward for his advice which made complete sense. Unfortunately on looking into doing this, I discovered that TFS 2005 is not supported on Windows Server 2008 so I couldn't do it that way round.
I ended up doing what I initially suggested (in place upgrade and then migration). I have listed the steps below in case anyone else ever wants to do this. Please note that these steps are in no way exhaustive but they are the general process you need to follow with pointers to the correct documentation.
New server:
2008) according to the TFS 2008
installation guide
files with TFS 2008 SP1 in order to
support SQL 2008 (same installation guide)
(same installation guide)
which prevented maintenance plans
from running without SSIS
Old server:
database backup
support TFS 2008
TFS 2008 installation guide
2008
databases
MSDN guide
databases
2.0 > WSS 3.0 (new server is Windows Server 2008 which only
supports 3.0) as per MSDN guide
guide
I tried this all out first on some disposable virtual servers which was very worthwhile. The whole process (including testing, communicating to users, etc.) has taken well over a week!