I have a question in regards to upgrading TFS to Azure DevOps 2020. I've not done anything like this before so I've started reading BOL, starting here, https://learn.microsoft.com/en-us/azure/devops/server/upgrade/get-started?view=azure-devops-2020, but I still have some questions.
From Setup:
On-premises TFS 2015 - SQL Server 2016
Going to Setup:
On-premises Azure DevOps 2020 (new hardware) - SQL Server 2019
Plan:
Install SQL 2019 on new server
Restore TFS DB backups on new SQL 2019 server
Install Azure Dev Ops 2020 software on the new server
Questions:
Is there a TFS Upgrade wizard?
If so, at this point in the plan, should I run the TFS upgrade wizard?
If so, where do I run it from, the old server (as TFS isn't installed on the new server)?
Thanks for your help.
Yes. TFS Upgrade wizard is a general tool.
After restoring databases and installing new azure devops server.
On the new application server.
Check inplace upgrade to 2020.
Agree with Shamrai Aleksander.
You could refer to the blog to upgrade the Azure DevOps Server. Then we could 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 2020
Azure DevOps Server 2019.1.1
In addition, check this doc, It also show the detail steps to run TFS Upgrade Wizard.
Related
We are using server side plugins for automatically creating and updating work items. if we upgrade to server 2020 will the plugins work ?
Checked \Application Tier\Web Services\bin\Plugins, plugin should be supported in azure devops server 2020. You can try to rebuild your plugin using Microsoft.TeamFoundation.Framework.Server.dll from Azure DevOps Server 2020.
Here is a ticket you can refer to.
I need to migrate TFS 2013 to Azure Devops Server 2020. I could find that i need to upgrade to TFS 2015 before upgrading to Devops 2020 Server. Is there any option to migrate directly to Devops Server 2020 if i only need the Source code.
How can i migrate directly to Devops 2020 from TFS 2013.
Regards,
As it is clearly stated in the document. You need to upgrade to TFS 2015 first.
When upgrading your on-premises deployment to Azure DevOps Server 2020 you should be aware that upgrade from TFS 2015 and later versions are only supported. If you are using TFS 2013 or earlier versions, you need to upgrade to TFS 2015 first.
However, you can have a try using external migration tools to migrate from tfs 2013 to Azure DevOps Server 2020 directly.
Migration Tools for Azure DevOps
Azure DevOps Server (TFS) – Azure DevOps Services (VSTS) Migration
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
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.
Basically we have existing TFS 2013 running in PROD, can we just install TFS 2018 in a new machine and restore the DB?
Please guide me with the upgrade from 2013 to 2018
I'm afraid your SQL Server version doesn't meet TFS 2018's requirement. As TFS 2018 only supports SQL Server 2017 and SQL Server 2016 (minimum SP1).
You need to go through article Upgrade your deployment to the latest version of TFS before doing upgrade. And follow the steps in article Upgrade scenario walkthrough for Team Foundation Server to upgrade your TFS. Summarize the steps here:
Prepare your environment. The first step is to check the system requirements for TFS 2018. Upgrade SQL Server is
necessary for your scenario. Including SQL Server, you also need to check other system
requirements and prepare the environment.
Expect the best, prepare for the worst. You must have a complete and consistent set of database backups in case something
goes wrong.
Do the upgrade. Once the preparation is done, you'll need to install the new version of TFS to get new binaries, and then run
through the upgrade wizard to upgrade your databases.
Configure new features. Depending on what version you upgraded from, you may need to configure each team project to gain access
to some of the new features made available.
Here is a useful blog for your reference:
https://blogs.msdn.microsoft.com/rob/2016/12/22/upgrading-from-tfs-2013-to-tfs-2017/
Even if the detach/attach upgrade is possible, it is not recommended to go that way and you could find more details here and here why is that. You could still go that route but at least you would be aware of the possible issues.
For the safest way to go here, would be to make an actual upgrade of your systems from TFS 2013 to TFS 2018. However, due to the TFS requirements, you would have to make something like that approach to make it possible:
From TFS 2013 upgrade to either TFS 2015 or TFS 2017. Based on your current SQL Server that you are using, if that is SQL Server 2012 you would have to go first to TFS 2015, upgrade your SQL Server to be SQL Server 2016 (minimum SP1), and afterwards proceed with the second upgrade to TFS 2018.