Online / Offline Migration to Azure SQL Managed Instance for Large Databases

ElenaMarlowe-3376 105 Reputation points
2025-12-31T01:58:19.93+00:00

I want to migrate an on-premises SQL Server to Azure SQL Managed Instance. The environment contains two databases, each approximately 1 TB in size.

I’ve reviewed the official Microsoft documentation and noticed that both online and offline migration approaches are supported. However, since I don’t have hands-on experience with large-scale SQL Managed Instance migrations, I’d like to ask the community for practical experience and recommendations.

  1. Is there a recommended online or offline migration method for large databases (~1 TB each)? For example:

Online: Managed Instance Link, Azure Database Migration Service (online mode)

Offline: Native backup and restore, Azure Database Migration Service (offline mode)

  1. Azure Data Studio is scheduled to be retired in February 2026. Will Azure Database Migration Service (DMS) continue to work normally after that? Since I’m planning to perform the migration around mid-2026, I’m concerned that Azure Data Studio may no longer be available to support the migration workflow.

Any experience sharing or best-practice recommendations would be greatly appreciated. Thank you.

Azure Database Migration Service
0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-12-31T03:20:18.68+00:00

    Hi @ElenaMarlowe-3376

    Thank you for contacting Microsoft Q&A. Please find below the detailed steps to address the reported issue

    1.       Recommended Migration Method for ~1 TB Databases

    For databases around 1 TB, both online and offline migrations are possible, but they serve different business needs. Based on field experience and Microsoft guidance:

    • Best Online Method (Minimal Downtime) ➡ Managed Instance Link (MI Link) MI Link is the top choice for large databases because it uses Always On technology for near real-time replication and requires only a brief cutover window (seconds to minutes). You can keep the link active for days or weeks until you’re ready to switch, and you can test read-only workloads on MI before cutover. This approach is ideal for ~1 TB because it handles large DBs without lengthy backup/restore cycles, offers the fastest data movement with the least downtime, and supports multiple databases from a single on-premises instance. Microsoft documents describe MI Link as “the only truly online migration option… providing near real-time replication and instantaneous cutover.” Learn more: MI Link migration documentation.
    • Best Offline Method (If Downtime Is Acceptable) ➡ Native Backup/Restore to URL (with Azure Blob Storage) This path is the simplest and most predictable offline option: upload full backups to Azure Blob Storage and restore on Managed Instance. It requires a downtime window but suits many customers. It is officially supported for SQL MI offline migration in DMS and ADS workflows. When to choose this: if a downtime of a few hours is acceptable, and the migration team prefers a straightforward restore-based workflow.
    • Azure Database Migration Service (DMS) DMS supports both online and offline modes for SQL MI migrations. Online mode uses log replay behind the scenes; offline mode orchestrates a backup-to-restore workflow. DMS is fully supported and GA for SQL Server to SQL MI migrations.

    Recommended Choices Summary

    • MI Link: Minimal downtime, highly predictable. Best for ~1 TB.
    • Backup/Restore (Offline): Simple, automated workflow with assessments.
    • DMS (Online/Offline): Flexible, GA-supported option. 

    2.       Azure Data Studio (ADS) Retirement – Impact on Migration

    Yes, DMS will continue to work after ADS retirement. Here are the key points:

    • ADS Retirement Date - Azure Data Studio retires on Feb 28, 2026, and will no longer receive updates or security fixes.
    • B. What Continues to Work After Retirement - ADS will still run but is unsupported. DMS as a platform service is not retiring. The Azure SQL Migration extension within ADS is being replaced by VS Code–based tooling.
    • What Microsoft Recommends - Use Visual Studio Code with the MSSQL extension, which replaces ADS for SQL migrations. It fully supports assessments, schema comparison, and migrations. All SQL projects and scripts remain compatible.
    • Will mid-2026 migrations be impacted? - No. You’ll simply use the VS Code migration tooling instead of ADS, while DMS continues to function.

    3.       Concrete, End-to-End Migration Plan (Customer-Ready)

    Step 1 — Pre-Migration Assessment

    • Run Data Migration Assistant (DMA) to detect blockers, deprecated features, and compatibility issues.
    • Validate logins, SQL Agent jobs, linked servers, CLR, and cross-DB references.

    Step 2 — Choose Migration Mode

    • If near-zero downtime is required: MI Link.
    • If some downtime is acceptable: Backup/Restore or DMS Offline.

    Step 3 — Set Up Target MI

    • Provision Azure SQL MI with appropriate vCores, storage, and service tier.
    • Ensure networking connectivity (VPN/ExpressRoute), firewall rules, and subnets.

    Step 4 — Migration Execution A. MI Link (Recommended Online Path)

    • Enable AlwaysOn on-premises availability group.
    • Configure MI Link from the Azure Portal.
    • Wait for full synchronization and continuous replication.
    • Perform final cutover during a small downtime window.

    B. Offline Path (Backup/Restore or DMS Offline)

    • Upload FULL, DIFF, and LOG backups to Azure Blob Storage.
    • Restore using T-SQL on MI or via the DMS Offline workflow.
    • Validate database, logins, jobs, and application connectivity.

    Step 5 — Cutover

    • Stop application writes.
    • Complete the final sync (if online).
    • Switch application connections to SQL MI.

    Step 6 — Post-Migration Tasks

    • Validate database integrity, Agent jobs, and permissions.
    • Enable monitoring (Azure Monitor, Query Store).
    • Decommission on-prem resources. 
    1. Key Best Practices for Large (1 TB) Migrations
    • Use compressed and striped backups to speed up uploads and restores.
    • Validate TDE certificate migration early if TDE is enabled.
    • Test MI Link or a restore operation with a subset database first.
    • Benchmark MI performance with Query Store and Automatic Tuning.

    For detailed insights, check out:

    1. Planning a migration to Azure SQL Managed Instance
    2. Migrate SQL Server to Azure SQL Managed Instance using DMS (online)
    3. Migrate SQL Server to Azure SQL Managed Instance using DMS (offline)
    4. Data Migration Assistant

    Was this answer helpful?


  2. AI answer

    2025-12-31T01:59:29.29+00:00

    For migrating large databases (approximately 1 TB each) from on-premises SQL Server to Azure SQL Managed Instance, both online and offline migration methods are available, and the choice depends on your specific requirements regarding downtime and complexity:

    1. Recommended Migration Methods:
      • Online Migration: Using the Azure Database Migration Service (DMS) in online mode is recommended for large databases if minimizing downtime is crucial. This method allows for near-zero downtime during the migration process, which is beneficial for production environments. The Managed Instance Link feature is also a strong option as it allows for real-time replication and read-only access during migration.
      • Offline Migration: If downtime is acceptable, the native backup and restore method can be used. However, this will involve more significant downtime as the application will be unavailable during the migration process. The offline mode of Azure DMS is also an option but may not be as efficient for large databases compared to online methods.
    2. Future of Azure Data Studio and DMS:
      • While Azure Data Studio is scheduled for retirement in February 2026, Azure Database Migration Service (DMS) is a separate service and is expected to continue functioning normally beyond this date. Therefore, you should be able to use DMS for your migration in mid-2026 without issues, even if Azure Data Studio is no longer available.

    In summary, for large databases, the online migration methods are generally preferred to minimize downtime, while DMS should remain operational for your planned migration timeline.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.