[英]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.将带有加密列的 Azure SQL Server 数据库从一个订阅复制到另一个订阅的最佳和最简单的方法是什么。
Tried to export to a .bacpac
file but it errors with尝试导出到.bacpac
文件,但出现错误
SQL71626 (certificate/symmetric key is not supported in Microsoft Azure SQL Database v12) SQL71626(Microsoft Azure SQL 数据库 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 . 将加密的 SQL 数据库从一个 Azure 订阅复制到另一个.
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. SQLPackage.exe 用于导出数据库,不支持对称密钥。 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.之后,您将能够将该数据库副本导出为 bacpac。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.