Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync two or more SQL Server 2012 databases

I am working on SQL Server 2012 and my requirement is to synchronize two or more databases that exist on different servers or locations.

I have tried this with 2008 by using synchronized option appear when we right click on database name.

But did not get any solution for SQL Server 2012.

like image 803
Anupam Sharma Avatar asked Nov 10 '22 03:11

Anupam Sharma


1 Answers

I have done this successfully using Service Broker on a database that needed to sync only specific data (ie. sync clients and orders between a web and a local database).

It is a bit painful to set up, but works brilliantly once in place.

That said, I wouldn't do it if you need to replicate the entire database.

like image 119
Roman Avatar answered Nov 15 '22 06:11

Roman