I have two SQL Server 2012 databases running on two different Windows Server instances, I want the Server A (DB1) to be in full sync with the new Server B (DB2).
How can I make this connection between them?
Is there any way to do this through SQL management Studio??
Note: whatever I do on Server B shouldn't replicate to Server A.
Best Answer
Lets take a quick look at the official Replication features page:
In short:
You will also have to overview and setup the SQL server agents for replication.
For a basic technological understanding the SQL Server replication mechanism utilizes the Publisher-subscriber pattern.
EDIT: i was intentionally mentioning the used pattern for replication, let me elaborate on it a bit more.
Architectural overview of the basic transactional replication:
Summarizing simplified the flow of operations:
This way you replicate your data from DB-1 to DB-2, and not backwards (though you can configure it to do that too, if you may want).