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

Do I need to backup log if log shipping is implemented in that database ? Expand / Collapse
Author
Message
Posted Saturday, August 25, 2012 11:25 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: 2 days ago @ 9:49 PM
Points: 1,507, Visits: 2,536
Hi,

Do I need to backup log if log shipping is implemented in that database ?
Will the log backup taken by log shipping truncate the log file so that it won't keep on growing ?
Or do I need to truncate it separately ?

Thanks in advance.
San.
Post #1350052
Posted Saturday, August 25, 2012 1:11 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 3:15 PM
Points: 5,976, Visits: 12,886
you don't need any other log backups than the log backup job created by logshipping. Indeed, if you take other log backups it will break logshipping.

The log backup taken by logshipping is no different than any other log backup



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

Post #1350065
Posted Sunday, August 26, 2012 3:27 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 4:17 AM
Points: 1,101, Visits: 5,279
Joy Smith San (8/25/2012)
Do I need to backup log if log shipping is implemented in that database ?

No
Will the log backup taken by log shipping truncate the log file so that it won't keep on growing ?

Yes
Or do I need to truncate it separately ?

No

Post #1350097
Posted Sunday, August 26, 2012 6:18 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: 2 days ago @ 9:49 PM
Points: 1,507, Visits: 2,536
Thank you all :)
Post #1350105
Posted Sunday, August 26, 2012 11:51 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
Joy Smith San (8/25/2012)
Hi,

Do I need to backup log if log shipping is implemented in that database ?
Will the log backup taken by log shipping truncate the log file so that it won't keep on growing ?
Or do I need to truncate it separately ?

Thanks in advance.
San.


why do you want to take Tlog backup when it is updated in other server through log shipping.

Even if you think that log backup will not break log shipping chain.

Experts i need your advice on below,

if take a TLOG backup and keep it on the log shipping share drive will the log shipping happens without break? or will it take only the backup created by logshipping job?



Regards
Durai Nagarajan
Post #1350134
Posted Sunday, August 26, 2012 9:50 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: 2 days ago @ 9:49 PM
Points: 1,507, Visits: 2,536

why do you want to take Tlog backup when it is updated in other server through log shipping.
Even if you think that log backup will not break log shipping chain.


It WILL BREAK the log shipping chain right ?


Experts i need your advice on below,

if take a TLOG backup and keep it on the log shipping share drive will the log shipping happens without break? or will it take only the backup created by logshipping job?


The moment you take TLOG backup it will break log shipping. Once the log shipping is broken, it shouldn't work with manually taken log backup apparently, if I understood correctly .
Post #1350187
Posted Monday, August 27, 2012 2:25 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
[b]Joy Smith San (8/26/2012)It WILL BREAK the log shipping chain right ?


San, it will break the chain, but my question is why do need to back up the log if you have the log restored on other server?



Regards
Durai Nagarajan
Post #1350252
Posted Monday, August 27, 2012 2:31 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
[b]Joy Smith San (8/26/2012

Experts i need your advice on below,

if take a TLOG backup and keep it on the log shipping share drive will the log shipping happens without break? or will it take only the backup created by logshipping job?


The moment you take TLOG backup it will break log shipping. Once the log shipping is broken, it shouldn't work with manually taken log backup apparently, if I understood correctly .


Thanks San, i too have the same idea but will sql accept if i keep the back on the location when it will take it and restore on other server hope anybody would have tried and tested it.


Regards
Durai Nagarajan
Post #1350259
Posted Monday, August 27, 2012 3:35 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 3:15 PM
Points: 5,976, Visits: 12,886
even if you back the log up to the same location as the log shipping backups it will still break log shipping as it will not be reflected in the log shipping tables.

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

Post #1350622
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse