Share via

Migration from Azure SQL Database to SQL Managed Instance on Azure

Georg Sieber 45 Reputation points
2026-04-16T07:16:14.2933333+00:00

We have around 100 database in Azure SQL database in an elastic pool. We want to switch for various reasons to SQL Managed Instance like better support for cross database queries.

Our conditions are the following:

  • We can only afford a short downtime (<10 minutes)
  • We cannot make the source database read-only during the migration
  • Due to size of some databases (~500GB) exporting to bacpac and importing to SQL managed instance takes a long time (multiple hours to export a database, multiple hours to import a database)

Since Azure SQL supports exporting databases only via bacpac we planned to export a current state of the database and import that into our SQL managed instance. Then we wanted to use change-tracking to keep source+target up2date and switch everything over.

However, this approach does not work since change tracking version numbers cannot be preserved while doing bacpac export-->import.

We are now hoping that Azure support has some internal tools to ease the switch from Azure SQL database to Azure SQL Managed Instance.

Best regards

Georg

Azure SQL Database

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.