gpt4 book ai didi

订阅之间的 Azure SQL 同步

转载 作者:行者123 更新时间:2023-12-04 12:45:57 24 4
gpt4 key购买 nike

我有 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com