SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Do I need to backup log if log shipping is implemented in that database ?


Do I need to backup log if log shipping is implemented in that database ?

Author
Message
Joy Smith San
Joy Smith San
SSCertifiable
SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)

Group: General Forum Members
Points: 6386 Visits: 3200
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.
george sibbald
george sibbald
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24654 Visits: 13698
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

---------------------------------------------------------------------
Suresh B.
Suresh B.
SSCarpal Tunnel
SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)SSCarpal Tunnel (5K reputation)

Group: General Forum Members
Points: 4982 Visits: 5329
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
Joy Smith San
Joy Smith San
SSCertifiable
SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)

Group: General Forum Members
Points: 6386 Visits: 3200
Thank you all Smile
durai nagarajan
durai nagarajan
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3505 Visits: 2784
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
Joy Smith San
Joy Smith San
SSCertifiable
SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)

Group: General Forum Members
Points: 6386 Visits: 3200

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 :-) .
durai nagarajan
durai nagarajan
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3505 Visits: 2784
[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
durai nagarajan
durai nagarajan
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3505 Visits: 2784
[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
george sibbald
george sibbald
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

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

---------------------------------------------------------------------
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