TFS to VSTS Migration info needed - tfs

I am Currently working on TFS migration from TFS 2015 U3 to TFS 2018 RTM--->VSTS
Here are my concerns,
1. If the extensions migrate to TFS 2018, When i migrate tfs 2018 ---> VSTS, Would it possible to migrate those to VSTS (EX:SSIS Deploy,SSRS Deployment)?
2. Would it be possible to get all the customized data on the TFS project dashboard after the migration to VSTS?
3. As per MSDN, For the migration of TFS2018 ---> VSTS, We need to use "TFS Migration Tool" , May i know where can we install the tool and how to process the migration using it?
4.Once we migrate to VSTS, If I want to use GIT, Is there anyway to use it as a source control?

To migrate TFS on-premise server to VSTS, there are three Migration options:
Option 1: Copy the most important assets manually
Option 2: High fidelity database migration
Option 3: Using public API-based tools for higher fidelity migration
According to your requirement, suggest you use option 2, the TFS/VSTS product team provides a high fidelity TFS Database Import Service. A downloadable Migration Guide is available at https://aka.ms/TFSImportData.
Because the TFS Database Import Service operates at a database level, it can provide a very high fidelity migration. If you want to move your existing TFS data into VSTS, we strongly recommend using this option.
More details please refer this tutorial: Migrate data from TFS to VSTS.
After the database level migration, the customized data on the project dashboard will also be stored. Not sure about the extension, however you could download them from Marketplace or upload your customize extension to VSTS again even lose them.
Besides, you could use git as source control in VSTS. Simply create a team project and select Git as version control, also take a look at: Get Started with Git and VSTS

Related

Migrating from TFS to VSTS with TFVC

My usecase:
Currently have TFS 2012 (on Prem)
Want to move to VSTS
Want to migrate only the SourceCode with history, don't need any workitems, etc.
Questions:
1. What are the tools I can use?
2. Is it mandatory to upgrade to TFS 2018 first before migrating to VSTS
If you want to migrate the source code only then you have 3 options.
The MS recommended route is to upgrade to TFS 2018 and then use the Database import feature of VSTS. This is the only way to keep using TFVC and keep the full history in tact.
You could use OpsHub however this comes with limitations as it will "replay" the history so the changeset history will reflect the time of the migration rather than the time of the original check-in. Also if you have multiple team projects then you might need to pay for the tool.
If you only want the code and you are happy considering changing version control systems from TFVC to Git then this might be the simplest option. You could use Git-TFS essentially you would clone the TFS (TFVC) repository to a local Git repository. At this point you would have a full "copy" of version control including history and branches, but in Git instead of TFVC. You could then push this up to VSTS, the only "downside" is that you would now be using Git rather than TFVC, Git is good, but different so you will want to think about that.

Migrate one single project from On-premise TFS to VSTS

how to migrate a single project alone (where project collection contains 30+ projects) from TFS to VSTS with all history, build-definitions, changesets
Microsoft has documentation on this exact scenario which can be found here: Migrate to Visual Studio Team Services : Move from Team Foundation Server (TFS) to Visual Studio Team Services (VSTS) and bring your data along.
This link also contains the download link for the migration tooling which you will want to use
Currently the following versions of TFS are supported for import:
TFS 2017 Update 3
TFS 2018
TFS 2018 Update 1
As described in About VSTS and TFS, Scope and scale data, the
long term direction for VSTS is to support grouping of accounts within
organizations. This would lead to:
VSTS accounts that serve as the equivalent of TFS project collections and VSTS organizations that serve as the equivalent of
TFS deployments.
This is why the TFS Database Import Service only supports importing single TFS collections as single VSTS accounts.
If you need to migrate individual team projects you will need to use
one of the other options—manual copy or public API based
migrations.
Source Link
It's very clear why you could not use TFS Database Import Service to migrate at team project-level directly.
You can also have a try for VSTS Sync Migration Tools,it allows you to bulk edit and migrate data between Team Projects on both Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). Note this without history. How to please refer: TFS 2017 Migration To VSTS with VSTS Sync Migrator
If you insist on keeping all history, the only way is using TFS Database Import Service, you may take the workaround as Daniel suggested.

Workitems migration from TFS 2013 to Visual Studio Team Services

What are the best practices to migrate workitems say PBIs/Features manually from TFS to VSTS? And how to ensure we don't lose any linking to changesets or other linked child workitems?
Have referred the below link and the migration tool mentioned is deprecated and would like to know any other options which will help to migrate the data.
How to migrate work items from TFS to VS Team Services (VS Online)
The recommend way for now is using Migrate to Visual Studio Team Service, a way import your TFS Database into Visual Studio Team Services which definitely along with data.
However, currently only the following versions of TFS are supported for import with this tool:
TFS 2017 Update 3
TFS 2018
You may have to upgrade your TFS server to use. Alternative, the Microsoft official option is using public API-based tools.
Personally, even though Team Foundation Server Integration Tools has been deprecated. You could still use this solution in your case.
Besides, if you have no work item customization, then OpsHub is an
option. VSTS Sync Migration Tools is another way. But none offer a full fidelity migrations. Each tool has its own limitations.

Merge TFVC repository into existing TFVC repo

I'm working on migrating a team project from an on-premise TFS server into an existing Team Project on VSTS. Both Team Projects use Team Foundation Version Control (TFVC) as its source control system.
First I looked into Microsofts TfsMigrator tool, but this require me to create a new VSTS account. Then I've been looking into VSTS Sync Migrator which will allow me to transfer work items, but not source code history.
So I'm now wondering:
Is there any way of migrating the source code to the existing TFVC repository without losing history?
Alternatively, can we create a new Team Project in VSTS and move the source code there, and still keep the history?
Been trying both, but can't figure out a way. Google only want me to migrate to Git, which is not what I want.
We decided to create a new GIT repository in our Team Project, and then migrate our code there using git-tfs.
An alternative would be to use OpsHub, but that would require a new Team Project.

Copy Team Project with History in VSTS

I'm hoping to copy an existing team project to a new one in order to clean up the content, whilst preserving the history / allowing me to do a dry run of this task before doing it for real, without impacting those currently working on that project.
We're using VSTS (aka VSO) as our version control solution.
I've previously copied projects between TFS and VSTS using the OpsHub migration utility. I had hoped that I could copy team projects using the same tool, but it appears that this tool is locked to only allow the source to be a self-hosted Team Foundation solution; not VSTS.
Is anyone aware of how team projects can be copied within VSTS?
Suggested Duplicate: Migrating source code from TFS to VSTS
My question differs from the above as that relates to TFS to VSTS, as opposed to VSTS to VSTS as discussed in my question. The free OpsHub tool takes care of the TFS to VSTS question, but (the free version) doesn't cover the VSTS to VSTS scenario.
There is no easy way to copy team projects and all their associated artifacts. You've already found the OpsHub utility, it has a more expensive bigger brother, the Integration Manager, which is able to do what you need for a significant price per project.
Product: http://opshub.com/products/opshub-integration-manager/
Pricing: http://opshub.com/products/pricing-oim/
There are also a few open source solutions available that each fill in part of the gaps, some copy work items, other sources and others test artifacts, but there are few tools that offer a full solution.
The easiest way is to start over and migrate without history, just snapshot your current working set and keep the old data around. If that really isn't an option, prepare for a frustrating or expensive (or both) period ahead.
The commercial version of OpsHub Migration Utility also allows copying of VSTS projects from one account to another.
Product: http://opshub.com/products/opshub-visual-studio-migration-utility/
Pricing: http://opshub.com/products/pricing-ovsmu/

Resources