简体   繁体   中英

Best way to copy an Azure SQL Server database with encrypted columns from one subscription to another

What is the best and easiest way to copy an Azure SQL Server database with encrypted columns from one subscription to another.

Tried to export to a .bacpac file but it errors with

SQL71626 (certificate/symmetric key is not supported in Microsoft Azure SQL Database v12)

Should I make a copy and then remove the keys before I export/import?

Congratulations your question is answered here:

Copy SQL database with encryption from one Azure subscription to another .

I post it as the answer and this can be beneficial to other community members.

SQLPackage.exe is used to export the database and it does not support symmetric keys. If you can copy the database, then drop the symmetric key and the certificate on the database created by the copy operation. After that you will be able to export that copy of the database as a bacpac.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM