Azure DevOps Migrations
Migrating code
- TFVC to Git
- Using web portal by clicking import repository (180 days history & less complex)
- Using
git-tfs
command line tool (more than 180 and complex)
git tfs clone https://tfs:8080/tfs/DefaultCollection $/Project1
- Git to Git
- Using web portal by clicking import repository
- Using git mirror
Migrating from on-prem TFS/Azure DevOps to Azure DevOps Services
- You can migrate easily to Azure DevOps services from on-prem TFS / Azure DevOps Server
- Using the data migration tool (old name before rebranding: Database Import Service for Visual Studio Team Services).
- 💡 Team Foundation Server (TFS) became Azure DevOps Server with the 2019 release of the on-premises product
- Here’s summary of Azure DevOps Server to Azure DevOps Services Migration Guide and tool.
- Prerequisites
- Ensure your team has active Azure Active Directory
- You can implement Azure Active Directory to synchronize with your
on-premises Active Directory environment.
- Good to enable MFA for access from unknown places using Conditional Access
- Steps:
- Upgrade TFS
- Upgrade your Azure DevOps Server or Team Foundation Server
- It’s to get DB scheme as close to the current in Azure DevOps Service
- Run “Configuration Features” to enable new features
- Validate Your TFS Server
- Run validations with migration tool
- Review logs and fix errors
- Repeat validation checks
- Get Ready for Import
- Assign, activate, and map Azure DevOps Services subscriptions
- Generate import settings using
Migrator prepare
command
- Provide the configurable settings
- Review the Identity Map log file
- Create an Azure Storage Container in the same datacenter as the final Azure DevOps Services organization.
- Import
- Dry run of end-to-end import
- Detach the team project collection
- Create portable backup
- Upload SQL database backup
- Generate SAS key
- Delete previous dry run organizations
- Rename imported organization
- Set up billing
- Reconnect to new organization