x

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

more ▼

asked Jun 23, 2010 at 05:57 AM in Default

Elliot gravatar image

Elliot
1 1 1 1

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

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).

more ▼

answered Jun 23, 2010 at 06:35 AM

sp_lock gravatar image

sp_lock
9.2k 24 28 31

(comments are locked)
10|1200 characters needed characters left

Many thanks Jon

more ▼

answered Jun 23, 2010 at 10:32 AM

Elliot gravatar image

Elliot
1 1 1 1

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x1945
x305

asked: Jun 23, 2010 at 05:57 AM

Seen: 2072 times

Last Updated: Jun 23, 2010 at 05:57 AM