Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Log Shipping best practise


Log Shipping best practise

Author
Message
DJH-445911
DJH-445911
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 195
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
durai nagarajan
durai nagarajan
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1107 Visits: 2771
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
george sibbald
george sibbald
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6330 Visits: 13687
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.

---------------------------------------------------------------------
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47263 Visits: 44392
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


DJH-445911
DJH-445911
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 195
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
george sibbald
george sibbald
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6330 Visits: 13687
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.

---------------------------------------------------------------------
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search