Skip to content
Advertisement

Azure ARM Template to export database to .bacpac file

I wanted to know whether it is possible to write an ARM Template which exports a Azure SQL Database and stores the .bacpac file to any storage account?

I found the following link from Microsoft Documentation:

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-export

But, in the above link there is no mention of doing it through ARM Template.
The end goal is to use this ARM template in a release pipeline and Database export and import should be done through the release pipeline.

Advertisement

Answer

I’m fairly certain this is not meant to be done with arm templates, because its a POST request, not a PUT request. So you’d need to use Azure PowerShellCLI to do that.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement