Log shipping job and Maintenance Plan (full and diff backups)

  • In my sql instance I have configured log shipping on Prod database and same time there is a Maintenance plan which is taking the same database Full and Diff backups.

    My question is will Maintenance plan's job (full and diff backups) will break Log shipping job? what happens in case of a disaster should I apply full bak and diff bak files first and then log files (which are taken by log shipping job)?

  • It's fine as long as log backups are not being taken by the maintenance plan or anything other than the log shipping job.

    http://technet.microsoft.com/en-us/library/ms175480%28v=sql.105%29.aspx

    Make sure that the backup retention of the log shipping job is set long enough to recover from whichever backup you want.

  • hi what will i do if my log ship failed to copy from primary and restoring is still working and some of the tran log backup has been deleted when copying became online again i failed to restore because of deleted backup thank you

  • niver (12/26/2013)


    hi what will i do if my log ship failed to copy from primary and restoring is still working and some of the tran log backup has been deleted when copying became online again i failed to restore because of deleted backup thank you

    you would have to re-initialise logshipping from a full backup (restored with norecovery) or a differential backup IF no full backups have been taken since the last log successfully restored on secondary.

    ---------------------------------------------------------------------

  • smtzac (12/23/2013)


    In my sql instance I have configured log shipping on Prod database and same time there is a Maintenance plan which is taking the same database Full and Diff backups.

    My question is will Maintenance plan's job (full and diff backups) will break Log shipping job? what happens in case of a disaster should I apply full bak and diff bak files first and then log files (which are taken by log shipping job)?

    They would make repairing log shipping a little easier, the differential base LSN is incremented after each full backup doesn't affect the log though.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • should be fine if you din't take transcation log backup. Becuase FULL/DIFF backup doesn't break log chain.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply