订阅之间的 Azure SQL 同步

标签 azure azure-sql-database azure-data-sync

我有 2 个订阅,它们具有相同的数据库,并且它们需要同步数据。这可以通过 Azure SQL 同步来实现吗?

我们之所以有 2 个订阅,是因为其中一个是客户,另一个是客户。

如果这不可能,在 Azure 订阅之间同步 2 个数据库的最佳方法是什么。

Azure SQL data sync

最佳答案

这是 Microsoft Azure SQL 数据同步团队提供的答案:

Thanks for contacting us. We do support sync databases across subscriptions. (In fact, it is one of our use cases.)

If the other subscription also belong to the same tenant, you can directly add it by selecting a different subscription when adding Azure database:

enter image description here

Otherwise, probably it is better to use our PowerShell cmdlet New-AzureRmSqlSyncMember, you need to specify the “MemberServerName” parameter, which is the fully qualified DNS name for the logical server.

To see the subscriptions in portal, they must under the same tenant and the user needs to have permission to both of them. If that’s not the case, they can add the sync member using PowerShell.

关于订阅之间的 Azure SQL 同步,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48301691/

相关文章:

php - 使用PHP文件在服务器之间自动存储和发送JSON数据

c# - 为什么 v2 Azure Function App 的 func.exe 的控制台窗口中不显示 ILogger.LogTrace 消息

powershell - 使用 powershell 删除 azure 存储帐户

sql-server - Azure 数据工厂中如何计算更改计数 - 更改数据捕获

database - 查询以获取授予 Azure SQL 数据库的角色和权限?

Azure 同步到数据库

azure - 使用 SQL 数据同步将 Azure SQLDB 移动到新资源组

azure - Powershell (7.2.7) Foreach-Object -Parallel - 多线程问题

encryption - Azure SQL 数据库是否支持加密?

Azure 数据从 Azure Db 同步到 Azure DWH