开发者

Migration from TFS 2005 to TFS 2010

开发者 https://www.devze.com 2023-03-02 15:19 出处:网络
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 ca

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 pr开发者_如何学运维oject 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?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号