Hi VJ-8370
Greeting!
As I understand it, you're looking for help with database migration from one VM to another VM.
You can use the Azure SQL Migration extension for Azure Data Studio to facilitate your SQL database migration from VM A (on-premises) to VM C (Azure) via VM B, which has Azure Data Studio installed. Since ExpressRoute is set up between VM B and Azure, this method ensures a secure and efficient migration.
Steps to migrate:
- Install the Azure SQL Migration extension in Azure Data Studio on VM B.
- Assess the source database on VM A using the extension to check migration readiness.
- Choose the migration mode:
- Online Migration: Minimal downtime, database remains accessible.
- Offline Migration: Requires downtime during migration.
- Configure the migration settings:
- Select VM C (Azure SQL target).
- Provide database backup location (either a network file share or Azure Blob Storage).
- Initiate the migration using Azure Database Migration Service.
- Monitor the migration progress and perform cutover once completed. Continuous sync to migrate large database: when migrating large SQL databases via Azure Data Studio, you can leverage online migration with Azure Database Migration Service (DMS). This ensures minimal downtime and keeps your source and target databases in sync. Steps to set up continuous sync:
- Use Online Migration Mode in Azure SQL Migration extension.
- Enable Transactional Replication or Log Shipping for ongoing sync.
- Configure Self-Hosted Integration Runtime on VM B to access backups.
- Use Azure Blob Storage for incremental backups and restore.
- Monitor Migration Progress via Azure Data Studio and Azure Portal.
- Perform Cutover once the final sync is complete. Please refer the Microsoft official documentation more help and clear steps.
- https://www.sqlservercentral.com/articles/azure-sql-migrations-using-azure-data-studio
- https://learn.microsoft.com/en-us/AZURE/dms/migration-using-azure-data-studio?tabs=azure-sql-mi