[英]What's the best way to Sync on premise SQL Server database to Azure Windows Server SQL Server
What's the best way to sync an on-premise SQL Server database to Azure Windows Server SQL Server?将本地 SQL Server 数据库同步到 Azure Windows Server SQL Server 的最佳方法是什么?
The offline server we have Windows Server 2016, SQL Server and Dynamics Nav.我们的离线服务器有 Windows Server 2016、SQL Server 和 Dynamics Nav。
We created an Azure VM and installed Windows Server 2016, SQL Server and restored the database.我们创建了一个 Azure VM 并安装了 Windows Server 2016、SQL Server 并恢复了数据库。 We also installed Nav Dynamics and sync the VM SQL Server.
我们还安装了 Nav Dynamics 并同步了 VM SQL Server。 Everything is integrated on the VM.
一切都集成在虚拟机上。
We want to automate data and sync the on-premise SQL Server with the online SQL Server once every hour.我们希望自动化数据并每小时将本地 SQL Server 与在线 SQL Server 同步一次。
What's the best, efficient way to achieve that.实现这一目标的最佳、有效方法是什么。 We tried to use Azure SQL Server but there is limitation for the data sync group where it can only sync database with less 500 tables in it.
我们尝试使用 Azure SQL Server,但数据同步组有限制,它只能同步少于 500 个表的数据库。 We have more than 2500+ tables on our database.
我们的数据库中有 2500 多个表。
I know from your previous question that Azure SQL Data Sync is not for you, but SQL Data Sync is based on Microsoft Sync Framework, and I believe you can build your own solution using Microsoft Sync Framework as shown here .我从以前的问题知道,SQL Azure的数据同步是不适合你,但是SQL数据同步是基于微软同步框架,我相信你可以使用Microsoft同步框架构建自己的解决方案如图所示这里。
A commercial alternative you have is SymmetricDS .您拥有的商业替代品是SymmetricDS 。
Another option, that you may like more is SQL Server Log Shipping but using Azure Blob Storage account as pipeline, with the benefit that you will be sending your backups to Azure Storage account.您可能更喜欢的另一个选项是SQL Server 日志传送,但使用 Azure Blob 存储帐户作为管道,好处是您将备份发送到 Azure 存储帐户。 You would need to do your own backups to Azure Blob Storage, and then have the secondary server(s) restore them from Azure Blob Storage, because Log Shipping wizard on SSMS does not support Azure Blob Storage (to my knowledge).
您需要自己备份到 Azure Blob 存储,然后让辅助服务器从 Azure Blob 存储还原它们,因为 SSMS 上的日志传送向导不支持 Azure Blob 存储(据我所知)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.