question

Elliot avatar image
Elliot asked

Replication - Can log backups interfere with transactional replication?

Hi there,

I have a need to set up a copy of a DB via either log shipping or transactional replication. If I have a backup stratergy that already backs up the transaction log every hour would this affect the replication if the freqency of the push replication is lower (for instance, I just want the DB to replicate once a day)?

Thanks in advance

Elliot

sql-server-2005replication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sp_lock avatar image
sp_lock answered

Elliot

Log shipping will be affect by log backups, as each backup is part of the chain. If a tlog backup is taken on the main db and not applied to the secondary db then it will fail.

Replication is not affect by log backups as replication creates a log reader that applies the changes to the subscriber(s).

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Elliot avatar image
Elliot answered

Many thanks Jon

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.