How to migrate collections from TFS 2017 to Azure DevOps Server 2019 (Different DB servers)

≯℡__Kan透↙ 提交于 2020-05-29 10:36:10

问题


I have been handling an aging Windows Server 2008 machine with TFS upgraded in place to 2017.2. Now, with Azure DevOps Server 2019, support for Windows Server 2008 is no longer available. Also, the existing SQL Server is 2012 and is no longer supported as well. I cannot upgrade the database to SQL Server 2014+ as there is the OS restriction. and in our company, upgrading OS in-place is not allowed.

Existing setup is as follows:

  • Windows Server 2008 (One VM)
  • TFS 2017.2
  • SQL Server 2012 Ent (On same VM)
  • Non-HTTPS machine name URL Team Portal access over Intranet

I prepared a brand new Windows Server 2016 for the Azure DevOps 2019.0.1. I also was able to get hold of a SQL AlwaysON Cluster based off SQL Server 2017 Ent just for Azure DevOps.

If I proceed with DevOps setup, I'll target the new DB Cluster and it will set up the new DB accordingly.

How do I move my existing collections to the new cluster (easy: restore DBs on the new cluster)?

Will Azure DevOps just accept the new collections?

All migration topics I've read are always assuming DB server and TFS server are the same and do not change.


回答1:


Ideal path:

  • Install the SQL Server matching your original environment.
  • Attach the databases
  • Install a version of TFS that supports your SQL server version that is the same or newer than the original server.
  • Walk through the configuration wizard.
  • uninstall TFS server
  • Detach databases and uninstall SQL Server
  • Install the desired SQL Server version with the same instance name.
  • Attach databases
  • Install latest version of Azure DevOps Server
  • Walk through the Upgrade wizard.

Full details here:

  • https://devblogs.microsoft.com/premier-developer/move-or-clone-tfs-from-one-hardware-to-another-in-tfs-2017-2018/


来源:https://stackoverflow.com/questions/56320698/how-to-migrate-collections-from-tfs-2017-to-azure-devops-server-2019-different

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!