从 TFS 2005 迁移到 TFS 2010

发布于 2024-11-05 05:04:53 字数 731 浏览 0 评论 0原文

我已在新服务器(运行 Windows Server 2008 r2 的 vmware)上安装了 TFS 2010,并从备份中将旧 TFS 2005 数据库恢复到新服务器上。安装似乎已经成功 - 我可以创建一个 TFS 2010 团队项目,并且可以为其签入/签出。

然而,我在使用 TFS 2010 配置管理器时犯了一个错误 - 我运行了高级配置向导,而没有运行了升级向导。 现在我看不到旧的 TFS 2005 团队项目,并且升级向导现已禁用。 为了修复我的错误,我尝试了以下操作:

TFSServiceControl quiesce

tfsconfig import /sqlInstance:MyServer\DBinstanceName /collectionName:MyImported /confirmed

这是此命令的输出:

TF255152: Service is not running: TFSJobAgent
The upgrade of the project collection MyImported has been queued.
Waiting on the upgrade operation to complete.

...现在我等待此操作完成的时间太长(我的版本控制数据库为 15 GB)。

如何将旧的 TFS 2005 团队项目导入到新的 TFS 2010 服务器?

I have installed TFS 2010 on a new server (vmware running windows server 2008 r2) and restored from backup my old TFS 2005 Database onto the new server. The installation seems to have succeeded - I can create a NEW TFS 2010 team project and I can do checkin/checkout for it.

I made a mistake, however, with the TFS 2010 configuration manager - I ran the advanced configration wizard and NOT the upgrade wizard.
Now I don't see my old TFS 2005 team project and the upgrade wizard is now disabled.
In order to fix my mistake I tried this:

TFSServiceControl quiesce

tfsconfig import /sqlInstance:MyServer\DBinstanceName /collectionName:MyImported /confirmed

This is the output of this commands:

TF255152: Service is not running: TFSJobAgent
The upgrade of the project collection MyImported has been queued.
Waiting on the upgrade operation to complete.

...and now I am waiting for too much time for this operation to complete (my version control DB is 15 GB).

How can I import my old TFS 2005 team project to the new TFS 2010 server?

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

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

发布评论

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

评论(3

转身以后 2024-11-12 05:04:53

在这里go 它支持就地升级...

Here you go it supports inplace upgrades...

云归处 2024-11-12 05:04:53

如果你必须进行迁移并且它目前已经被提升,那么我会从头开始。与尝试解决问题相比,您花在这方面的时间要少得多。

If you have to do a migration and it is currently jacked up then I would simply start from scratch. You'll spend far less time doing this than trying to fix the issues.

躲猫猫 2024-11-12 05:04:53

如果您选择安装(在您的情况下为高级配置向导)而不是升级,则会为您创建新的配置和默认集合数据库,并且不会影响您恢复的 2005 数据库。

正如克里斯建议的那样,处理这个问题最安全的方法是从头开始。不过,您不需要再次恢复 2005 数据库,您所需要做的就是卸载 TFS,确保删除新的 Tfs_Configuration 和 Tfs_DefaultCollection 数据库,然后重新安装 TFS 并使用升级向导再次配置。安装 TFS 2010 应该很快。

If you choose an install (advance configuration wizard in your case) instead of an upgrade, what happens is that new configuration and default collection databases are created for you, and your restored 2005 databases are not touched.

The safest way to deal with this issue is, like Chris suggested, to start from scratch. You wouldn't need to restore your 2005 databases again though, all you need to do is to uninstall TFS, make sure the new Tfs_Configuration and Tfs_DefaultCollection databases got deleted, and reinstall TFS and configure again with the Upgrade wizard. Installing TFS 2010 should be fast.

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