Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 synchronizing databases

Author  Topic 

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2007-11-22 : 07:24:42
what's the best way to synchronize 2 databases(mssql 2005) on 2 different servers.

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2007-11-22 : 07:30:30
You have a few options, depending on your set-up and hardware:

Replication - The easiest to set up, but there are a few pitfalls

Mirroring - Depends on your hardware and the use of the databases

Log Shipping - Depends on the use of the databases as one would be read-only.
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2007-11-22 : 07:35:58
they definitely both have to be writable.

what's the pitfalls of replication and how is this done?
Go to Top of Page

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2007-11-22 : 08:10:00
It is by far the easiest to set up, you need to think about what type of replication you would want though. By the sounds of it you will want either merge, updateable transactional or peer-to-peer.

To start with, both databases need to be in the same state. So if you have different data on both the databases, this may be a problem, but it can be overcome.

I would probably look into merge replication. There is plenty of information on how to set this up on the web and in BOL.
Go to Top of Page
   

- Advertisement -