简体   繁体   English

如何自动将本地SQl数据库与Microsoft Azure Sql数据库同步?

[英]How to auto sync local SQl Database with Microsoft Azure Sql database?

I have a ADO.net application which generates some data in regular intervals that is stored in a local SQL server. 我有一个ADO.net应用程序,该应用程序会定期生成一些数据,这些数据存储在本地SQL Server中。 I want that database to sync with Microsoft azure SQL database automatically. 我希望该数据库自动与Microsoft Azure SQL数据库同步。 What would be the best process to make it happen? 使其实现的最佳过程是什么?

You have two options. 您有两个选择。 One of them is SQL Data Sync which will sync you local database with an Azure SQL Database and viceversa. 其中之一是SQL数据同步,它将使您的本地数据库与Azure SQL数据库同步,反之亦然。 It is a bi-directional replication that works best with SQL Server 2008 R2 (and later) on-premises databases. 它是双向复制,最适合与SQL Server 2008 R2(及更高版本)本地数据库一起使用。 This service is in preview and you can get started with it by visiting this documentation. 该服务处于预览状态,您可以通过访问文档开始使用。

Your second option is Snapshot and one-way replication that works with SQL Server 2012 and later. 您的第二个选项是快照和单向复制,可与SQL Server 2012及更高版本一起使用。 You can get started with it on this documentation. 您可以在文档上开始使用它。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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