Log Shipping best practise

  • Hello all

    We are planning to Log Ship some of our DBs to a different site as part of our Disaster Recovery strategy.

    The largest of these DBs is just over 400GB and I do a selective Re-Index or Index Defrag every night.

    Once the Log shipping has been initialised I plan to put the DB in Bulk Logged mode for the Re-index job as this will not cause the log file to grow too much, although I know the size of the log backup will still be large.

    I will be taking Copy only Full backups nightly as part of our nightly backups run.

    Hopefully that all sounds fairly straight forward so far.

    My question is on Log Shipping... Once we are Log shipping to our remote site, do I just let it run and run or is it good practise to re-initialise occasionally, like Monthly?

    Thanks in advance

    David

  • Why do you want to re initialise and increase manual load, if it is running fine already?

    one more question why you rebuild or reorg (selective) job is running daily? is it not enough if it runs on weekends.

    Regards
    Durai Nagarajan

  • just let it run, No need to reinitialise unless you get an error (lose a log backup or something)

    Your full backups do not need to be copy_only either, that only affects differentials.

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

  • Leave it running. No point in reinitialising unless something breaks.

    You can (and probably should) leave your nightly full backups as normal full backups (without the copy only), especially if you may ever add differential backups to the backup strategy.

    Edit: Damn, typing too slowly today.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you for the replies.

    OK so let it run unless there is a reason to re-initialise. Thank you.

    And I can take a full backup at any time and it wont affect the log shipping?

    In that case in the event of us needing to do a point in time restore, I could take the previous nights full backup + subsequent log backups (that would have been log-shipped to our remote site)?

    If so thats good as I thought we had lost the ability to do point in time restores with the log shipping.

    Thanks again

    David

  • DJH-445911 (5/12/2014)


    Thank you for the replies.

    OK so let it run unless there is a reason to re-initialise. Thank you.

    And I can take a full backup at any time and it wont affect the log shipping?

    correct

    In that case in the event of us needing to do a point in time restore, I could take the previous nights full backup + subsequent log backups (that would have been log-shipped to our remote site)?

    Also correct. Your log backups will still be on the primary as well if you set the retention period long enough (> 1 day at least).

    If you do restore your primary to a previous time you would have to reinitialise log shipping then.

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

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

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