SQL Server 2012 – Should Both Transaction Log Backups and Log Shipping Be Used

backuplog-shippingsql serversql-server-2012transaction-log

I set my database to Full Recovery a few months ago (to allow point-in-time restores) and set up Transaction Log backups with Maintenance Plan.

Now we want to conduct Log Shipping with the same database. In Log shipping setup, it asks for Source Transaction Log Backups, and then the usual copy to Destination Server and Restores, etc.

If I set up Log Shipping Transaction Log Backups, then I will have two transaction log backups. From setting the database to full recovery, and then log shipping.

(a) Is this is not repetitive? Should I remove the original transaction log backup in Maintenance Plan or the one from Log Shipping?

(b) Or perhaps the Log Shipping Transaction Log Backup does not clear out/truncate the Transaction Log ldf file like Maintenance Plan does?

Best Answer

You will only have one stream of log backups, and that would of course in this situation be your log shipping backups. If you keep doing log backups in your maint plan, then the log shipping restore will fail as soon as maint plan log backup was done "in between" two log shipping log backups. A: Remove the log backups from your maint plans. B: Yes, it does - it is a regular log backup, after all.