Migrate .bak file to azure sql

Vikas Tiwari 766 Reputation points
2023-06-14T20:05:09.44+00:00

Hi,

We have requirement to migrate data from .bak file to azure sql. I have tried to see documentation but could find migration using .bak file. Can we migrate data using .bak file to azure sql?

Thanks

Azure Database Migration service
Azure SQL Database
{count} votes

Accepted answer
  1. Alberto Morillo 33,341 Reputation points MVP
    2023-06-14T20:29:39.4466667+00:00

    Native SQL Server backups are not supported on Azure SQL. My suggestion is to restore that .BAK backup on a SQL Server instance on-premise or located on Azure, then create a bacpac that can then be imported as a new Azure SQL database.

    Another option you have, once you have restored the BAK file into a SQL Server instance, you can also use tools like Azure Data Studio or Data Migration Assistant to migrate the database you have restored to Azure SQL. This is the option I recommend you. These tools provide you assessments to see how compatible is the database in your .BAK with Azure SQL, and that assessment will tell you what remediations are needed before taking that database to Azure SQL.


0 additional answers

Sort by: Most helpful