We currently have two different TFS systems (call them A and B), and I would like to move the Team Projects from A into system B, while maintaining all of the Team Projects in B.
I could accept having to (re)upload Work Item Types, Work Item Queries, documents, reports, etc. But what I would need for the system or some tool to do is migrate all of the work items (including links and attachments) and source code. That way I can keep all the work item and source code history, along with work item links and attachments. It would also be nice if the security and group settings were transferred, as well.
I suppose I could muck with the SQL data and figure something out, but that approach usually ends badly in my experience.
Maybe an approach would be to restore the databases from A onto the SQL Server under B (using different database names, of course), and then run a bunch of Microsoft sanctioned cross-database insert statements or something.
I'd also be open to opening a support incident if need be.
Any help or advice would be GREATLY appreciated,
Jamie

Move Team Project(s) from one TFS installation to another
Rod Colledge
For v1, there is no official way to do this. As mentioned above, you would need to use the client API to write a tool to do it.
Buck
simon_wang
There is a workitem migration tool available here: http://www.gotdotnet.com/codegallery/codegallery.aspx id=b29d4456-c4ba-474e-a422-0479471776e1
Source control I'm not certain about, but since everything is exposed through webservices it should be pretty easy to write a barebones migration tool.
Hope this helps.