On prem to on prem migration? - opshub

Your web site states the migration utility supports migration between on prem servers. However when I attempt to set the endpoint to an on prem collection I get the error "You can only select Visual Studio Teams Service's team project collection." Is this feature available? If so how do I configure a basic migration between two on-prem collections then?

This feature is available in commercial version of migration utility. Please contact sales#opshub.com for upgrading utility.
Free version of utility will provide TFS on prem to VSTS migration.

Related

Migrate from TFS 2010 to Azure DevOps online

I want to migrate form TFS 2010 to Azure DevOps online and was following Azure DevOps Migration Guide.pdf and running into issues when trying to validate my project collection.
On the other hand I had to see other MSFT documentation and it tells a different path:
Where as Azure DevOps Migration Guide says:
What is the best way to migrate from TFS 2010 to Azure DevOps online ?
Look closely. One document is more recent than the other. The first screenshot shows Azure DevOps Server 2020 as the end point. The other shows TFS 2018.
You need to upgrade to the most recent version of Azure DevOps Server in order to migrate to Azure DevOps cloud. The "best way" is always to follow the most recent official documentation.
If you're looking for help with performing the migration, you need to ask a new question that asks a specific question about the issue you're encountering.
We recommend that you use data migration tool to migrate data from Azure DevOps Server to Azure DevOps Services.
The data migration tool for Azure DevOps supports the two latest releases of Azure DevOps Server at a given time. Releases include updates and major releases. Currently the following versions of Azure DevOps Server are supported for import:
Azure DevOps Server 2019.1.1
Azure DevOps Server 2019 Update 1
Please update your TFS version and then Migrate your server to Azure DevOps

TFS 2010 Upgrade Path to Azure DevOps Services - Circumvent or Not Circumvent?

I am preparing an upgrade of an on-premises TFS 2010 instance to the cloud-based Azure DevOps Services, using Microsoft's Data Migration Tool for Azure DevOps Migration to facilitate the collection database move to Azure DevOps Services. There are however a few key points or caveats to highlight relating to this proposed upgrade and these are listed below.
It will be an "In Place Upgrade", meaning we intend to use the existing "on-premises" hardware throughout the process.
Our TFS 2010 instance is hosted on a Windows Server 2008 R2 Enterprise server.
The Data Tier is implemented on a Microsoft SQL Server 2008 R2 instance.
Now, the Data Migration Guide recommends that to migrate to Azure DevOps Services, we first need to complete an upgrade from TFS 2010 to TFS 2013, as per the attached Upgrade path map. TFS 2013 however is not compatible with SQL Server 2008 R2 and requires SQL Server 2012 (Express, Standard, Enterprise).
On the other hand, TFS 2012 supports SQL Server 2008 R2 and can also then be upgraded directly to Azure DevOps Services, according to the Data Migration Tool's Recommended Upgrade Path. This, I believe will avoid the need to upgrade our current instance of SQL Server from SQL 2008 R2 to SQL Server 2012 (to upgrade to TFS 2013), in order to finally achieve our objective of upgrading to Azure DevOps Services.
Can anyone foresee any issues with this approach, or should we just bite the bullet and complete that SQL 2008 to SQL 2012 upgrade as suggested in the guide?
Please check this documentation:
The data migration tool for Azure DevOps supports the two latest
releases of Azure DevOps Server at a given time. Releases include
updates and major releases. Currently the following versions of Azure
DevOps Server are supported for import:
Azure DevOps Server 2019.1.1
Azure DevOps Server 2019 Update 1
As #Daniel Mann mentioned above, the picture you posted showed the upgrade path from old versions TFS to Azure DevOps Server 2019 (Azure DevOps Server was previously named TFS), not Azure DevOps Service.
In summary, both hardware and software you use need to be upgrade. To migrate to Azure DevOps Service, you have to upgrade to TFS 2012.3/TFS 2013.5, and then upgrade to Azure DevOps Server 2019.1 (TFS 2019.1), after that, migrate to Azure DevOps Service.
You need to use supported hardware/software versions, end of story.
The premise under which you're operating is incorrect: The upgrade path is from TFS 2012 to Azure DevOps Server 2019, which is the last on-prem upgrade step before you can use the migration tool to migrate it. You can't use the migration tool on TFS 2012; you need to be using Azure DevOps Server 2019.

How to perform code migration from TFS 2018 to Azure DevOps?

We are trying to migrate code from TFS2018 to Azure DevOps. I am new to code migration from TFS to VSTS. I would like to know is there any tool for code migration?
I saw TFS-GIT utility. I am really not sure how much efficient this tool.
GIT-TFS list remote repostiory
You may do it through OpsHub tool: OpsHub Visual Studio Online Migration Utility
My recommendation would be to either upgrade your on-premise server to Azure DevOps Server 2019 or the latest Team Foundation Server 2018 update pack that's supported by the migration tool.
You can perform this upgrade on a clone instance of your existing server, so it won't break or change your existing machine or database in case anything goes wrong.
We regularly perform these types of migrations and we generally use a temporary Azure Virtual Machine. We install SQL Server on it, we restore the backup of the on-premise server, we install the desired TFS application tier version on it. If the Azure machine is joined to your domain, then that's all you need to start the import into Azure DevOps. If the machine isn't domain joined, be sure to turn off the AD Sync job as part of the migration. My colleague Jasper has a couple of scripts to fix that for you.
Alternate options. In my opinion there aren't any. At least not good ones. There is a whole set of tools that an migrate parts of TFS to Azure DevOps, tools like OpsHub, git-tfs, git-tf, Migration Tools for Azure DevOps. None offer a complete migration, some do work items, some sources, some builds, but none of these offer a complete migration.
All of these also have the issue that they reset metadata such as Commit/Approval dates, work item IDs. Which will impact retention jobs, history and other things you may care about.

Move organization from VSTS to TFS

I have an organization (all my projects - Only work items, no code) on Team Services (free edition). I have now started collaborating with another team who has a licensed TFS. I need to move all my projects to TFS.
Is that possible? Please help.
It's possible with Azure DevOps Migration Tools utility.
Azure DevOps Migration Tools allow you to bulk edit data in Microsoft Team Foundation Server (TFS) and Azure DevOps. It has many names depending on what you are trying to achieve. It can be used to:
Migrate data from TFS to TFS
Migrate data from TFS to Azure DevOps Services
Migrate data from Azure DevOps Services to TFS
Bulk update in TFS or Azure DevOps Services
You can also take a look at this tool.
There is also a paid service that can do it.

Replacing TFS App Tier

I plan on replacing my existing app tier (TFS 2010) when upgrading to TFS 2013. I'll quiesce the services and rename the old machine from MYTFS to MYTFS_OLD. The new app tier will have a fresh, un-configured installation of TFS 2013 and will be renamed from MYTFS_NEW to MYTFS.
My question is, will it be necessary to run the ChangeServerID or RemapDB commands if the new app tier is named the same as the old one?
If I understand your scenario correctly you will end up with:
A new server that's completely clean
The 'old' database server that contains all the TFS databases.
If that's the case, you should install TFS and select 'Upgrade'. You then point your TFS Application Tier to your database server and let TFS upgrade your databases.
You cannot have both version running on the same set of databases.
Study the ALM Ranger's Upgrade guide before doing anything.
I don't think you need to run remapdbs or changeserverid commands:
you typically need remapdbs when the server name changes which is not the case
you should use changeserverid if you plan to clone a TFS server meaning that you have restored TFS databases to a different machine and set up another TFS instance on that machine without killing the original server. Again it's not the case from what you have described here.

Resources