简体   繁体   English

将带有加密列的 Azure SQL Server 数据库从一个订阅复制到另一个订阅的最佳方法

[英]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.

相关问题 使用密钥将 SQL 服务器中的一个数据库从一台服务器迁移到另一台服务器的最佳方法是什么? - What is the best way to migrate one database from one server to another in SQL Server with the keys? SQL Server将数据从一个数据库表复制到另一数据库表 - Sql Server copy data from one database table to another 在 SQL 服务器中将 Partial Table 从一个数据库复制到另一个数据库 - Copy Partial Table from one database to another in SQL Server 将特定表数据从一个数据库复制到SQL Server中的另一个数据库 - Copy specific table data from one database to another in SQL Server 在 SQL Server 中将表从一个数据库复制到另一个数据库 - Copy tables from one database to another in SQL Server 使用 Python 在 SQL Server 中将表从一个数据库复制到另一个数据库 - Copy tables from one database to another in SQL Server, using Python 将记录从一个表复制到另一台SQL Server的最快方法 - Quickest way to copy records from one table to another sql server 将数据从一个表移动到另一个 SQL 服务器的最佳方法 - Best way to move data from one table to another SQL Server 将一列从数据库表复制到另一数据库表sql server中的另一列 - Copy one column from a database table to another column in another database table sql server 使用表和列相同的代码将一组记录从Oracle复制到SQL Server的最佳方法是什么? - What is the best way to copy a set of records from Oracle to SQL Server using code where table and columns are identical?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM