16

We are attempting to migrate from one Visual Studio Online account to another Visual Studio Online account. This is different from an on-premise TFS to Visual Studio Online migration. Most articles explain a migration using the on-premise to VSO approach, only.

Accounts

  • https:\vsoaccount1.visualstudio.com\DefaultCollection
  • https:\vsoaccount2.visualstudio.com\DefaultCollection

For TFS to VSO, we found a solution by using OpsHub Visual Studio Online Migration Utility.

We also tried to use the same tool to point to another Visual Studio Online account as a source, but it fails stating that we can only point to a TFS instance.

Can this be done via scripting? If so, how? If there is a tool available, that would be great also. This should be a one time migration.

Update:

We need code only, including changesets, no work items. The project is using TFVC.

Mario Tacke
  • 5,378
  • 3
  • 30
  • 49

2 Answers2

5

You can consider using TFS Integration Platform

Oleg Mikhaylov
  • 1,124
  • 7
  • 10
  • The tool appears to be very complex and somewhat experimental, but we were able to transfer Source Code and change sets from the previous repo to the new one. Thank you. – Mario Tacke Jul 16 '14 at 00:08
  • True on all 3 counts! But then again, full history migrations are almost never a simple project. – Andrew Clear Jul 17 '14 at 18:31
  • Mario can you please give me some pointers on how you transferred code and change sets from one VSO account to another. I am in the exactly same situation right now. Thank you. – Sajad Deyargaroo Mar 11 '15 at 14:45
  • @SajadDeyargaroo, install TFS Integration Platform, make sure to use alternate credentials, and select the appropriate template for your migration (they come pre-installed). – Mario Tacke Apr 22 '15 at 16:21
  • I had tried that but it asks for source and target, when i try to enter the VSO details, if doesn't allow the same. – Sajad Deyargaroo Apr 23 '15 at 12:30
  • Do you get any kind of error? We had a firewall issue at work, so I had to do it off network. – Mario Tacke Jun 01 '15 at 22:20
  • Note! TFS Integration comes with a scary warning: "TFS Integration Platform was designed to work with Team Foundation Server 2012 and earlier. Use of these integration tools with TFS 2013 and 2015 may cause errors. TFS Integration Platform will not be supported past May 31, 2016." – Macke Jun 02 '16 at 11:41
1

For others that stumble across this thread, I have found this - the Visual Studio Team Services Sync & Migration Engine an open source project that appears to do TFS-TFS, TFS-VSTS, VSTS-TFS and VSTS-VSTS migration. It is an open source project initiated with the same purpose as the TFS Integration Platform, but to address some of the complexities (and the fact that it is now deprecated).

From the web site:

Visual Studio Team Services Sync & Migration Engine allows you to bulk edit data in Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). Supports both migration and bulk update scenarios.

Murray Foxcroft
  • 12,785
  • 7
  • 58
  • 86