简体   繁体   中英

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?

The offline server we have Windows Server 2016, SQL Server and Dynamics Nav.

We created an Azure VM and installed Windows Server 2016, SQL Server and restored the database. We also installed Nav Dynamics and sync the 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.

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. We have more than 2500+ tables on our database.

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 .

A commercial alternative you have is 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. 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM