问题
I'm planning to move to Azure DevOps. Currently we have TFS2015 in house. Based on the article it says we have to migrate to TFS 2018 before migrating to Azure DevOps. Can't we migrate from TFS 2015 to Azure DevOps?
回答1:
According to this article migration paths only apply to:
The TFS Database Import Service supports the two latest releases of TFS at a given time. Releases include updates and major releases. Currently the following versions of TFS are supported for import:
- TFS 2018 Update 2
- TFS 2018 Update 3 & Update 3.1
So you have to upgrade before attempting this migration
回答2:
All of the above answers are correct. But there is an alternative IF you only want your repositories. If you want to migrate your source code repositories:
Option 1) If TFVC (TFS Version Control) - Basically create a local workspace, copy it into a new local git repo, create a new Azure DevOps git repo, then push local git repo to new empty git repo, repeat as necessary.
Option 2) If TFS 2015 is hosting Git repos already, then just clone the git repos with all branches and tags, create a new Azure DevOps git repo, then push local git repo to new empty git repo with all branches and tags, repeat as necessary (script is more involved but can be automated, this is what I did).
We were only using TFS 2015 for version control only, so we opted just to move one project at a time.
回答3:
No. You cannot migrate directly from 2015 and not only do you need to upgrade to 2018; you basically need to be on one of the last two versions of TFS, now rebranded to Azure DevOps Server. Also, if you are on version 2015, the upgrade itself is very trivial. Check out this blog post for additional information on things you will want to consider as part of your migration:
https://blog.omarv.net/consider-this-when-planning-your-tfs-to-azure-devops-migration/
来源:https://stackoverflow.com/questions/54397059/can-we-migrate-tfs-2015-to-azure-devops-directly