从 TFS 2005 迁移到 TFS 2010
我已在新服务器(运行 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在这里go 它支持就地升级...
Here you go it supports inplace upgrades...
如果你必须进行迁移并且它目前已经被提升,那么我会从头开始。与尝试解决问题相比,您花在这方面的时间要少得多。
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.
如果您选择安装(在您的情况下为高级配置向导)而不是升级,则会为您创建新的配置和默认集合数据库,并且不会影响您恢复的 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.