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 job and Maintenance Plan (full and diff backups) Expand / Collapse
Author
Message
Posted Monday, December 23, 2013 1:38 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 4:49 PM
Points: 105, Visits: 379
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)?
Post #1525624
Posted Monday, December 23, 2013 3:50 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, October 16, 2014 11:18 PM
Points: 1,248, Visits: 1,735
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.
Post #1525653
Posted Thursday, December 26, 2013 8:28 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 20, 2014 7:39 PM
Points: 3, Visits: 16
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
Post #1526073
Posted Friday, December 27, 2013 7:33 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Saturday, October 18, 2014 5:21 PM
Points: 5,877, Visits: 13,005
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.


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

Post #1526139
Posted Sunday, December 29, 2013 1:42 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 1:11 PM
Points: 6,466, Visits: 13,921
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"
Post #1526367
Posted Monday, December 30, 2013 12:12 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, October 16, 2014 2:47 AM
Points: 126, Visits: 1,084
should be fine if you din't take transcation log backup. Becuase FULL/DIFF backup doesn't break log chain.

[li][/li]
Post #1526397
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse