Quickest way to restore remote Azure SQL Database from the cloud to local
TheSimoz
0
Reputation points
Working with Azure SQL Database on elastic pool I often need to pull entire database locally mainly for performance reasons on intensive tasks.
Currently, whenever I need to bring a cloud database to my local (Sql Server on Docker) I do the following:
- Run this stored procedure to sync the metadata (otherwise the export fails )
- Export the database as a bacpac to a blob storage
- Download the bacpac from the storage with Azure Data Explorer
- Import the bacpac using Azure with Azure Data Studio
Since I need to perform this operation often, what is the fastest way to get a database from Azure Sql Server to a local Sql Server instance, a docker container in my case?
Sign in to answer