Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Log Shipping best practise Expand / Collapse
Author
Message
Posted Monday, May 12, 2014 6:34 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, June 25, 2014 9:11 AM
Points: 17, Visits: 148
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
Post #1569813
Posted Monday, May 12, 2014 6:42 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, May 30, 2014 8:15 AM
Points: 1,056, Visits: 2,687
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
Post #1569818
Posted Monday, May 12, 2014 6:42 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Monday, September 8, 2014 8:17 AM
Points: 5,991, Visits: 12,939
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.


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

Post #1569819
Posted Monday, May 12, 2014 6:48 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:12 AM
Points: 43,008, Visits: 36,166
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 2008, MVP
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

Post #1569823
Posted Monday, May 12, 2014 7:15 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, June 25, 2014 9:11 AM
Points: 17, Visits: 148
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
Post #1569836
Posted Monday, May 12, 2014 7:25 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Monday, September 8, 2014 8:17 AM
Points: 5,991, Visits: 12,939
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.


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

Post #1569840
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse