The Azure SQL Database Offline Migration Wizard - does it disable my source db when i start migration

Mark Taylor 351 Reputation points
2025-08-06T05:32:34.9966667+00:00

I have SQL server on Azure VM. I have setup the azure database migration services. I am on the last step of the wizard where it says in the documentation downtime starts when I hit start migration.

Does it mean that it will destroy, or put the source sql server readonly or offline somehow? Does it simply mean that my application will need reconfiguring to point to the new copy of the database, so for consistency, stop writing to the source database?

I want to test, so I would like the migration to copy the database over so I can use a test copy of the application on the migrated data. When I am satisfied, I aim to cease connections to the source database, complete the migration, reconfigure the application so it runs on the new Azure SQL database.

Should I be doing this another way? I cannot quite read in the documentation what is happening.

Azure SQL Database
{count} votes

Accepted answer
  1. Mahesh Kurva 6,850 Reputation points Microsoft External Staff Moderator
    2025-08-06T07:30:05.5566667+00:00

    Hi Mark Taylor,

    Greetings!!

    When you start an offline migration using Azure Database Migration Service (DMS):

    Your source SQL Server database remains fully operational it is not disabled, set to read-only, or taken offline automatically.

    The term “downtime” refers to the period during which you must stop any new data changes (writes) to the source database. This is essential because any changes made after migration starts will not be included, potentially leading to data inconsistencies.

    Your plan is solid and aligns with best practices:

    Migrate a copy of your database to Azure SQL Database.

    Test your application against the migrated copy to ensure functionality and performance.

    Once satisfied:

    Stop all activity on the source database.

    Optionally, re-run the migration to capture any final changes.

    Reconfigure your application to point to the new Azure SQL Database.

    For more information, please refer the documents:
    https://learn.microsoft.com/en-us/azure/dms/faq?utm_source=chatgpt.com#how-can-i-ensure-that-dms-has-migrated-all-the-data-from-the-source-database-to-azure-sql-targets-https://techcommunity.microsoft.com/blog/microsoftdatamigration/introducing-azure-sql-database-offline-migrations-for-the-azure-sql-migration-ex/3655381?utm_source=chatgpt.com

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

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