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


Log shipping job and Maintenance Plan (full and diff backups)


Log shipping job and Maintenance Plan (full and diff backups)

Author
Message
Tac11
Tac11
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3639 Visits: 1209
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)?
Andrew G
Andrew G
SSCertifiable
SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)SSCertifiable (7.9K reputation)

Group: General Forum Members
Points: 7927 Visits: 2345
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.
niver
niver
Valued Member
Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)Valued Member (55 reputation)

Group: General Forum Members
Points: 55 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
george sibbald
george sibbald
SSC Guru
SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)SSC Guru (58K reputation)

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

---------------------------------------------------------------------
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)

Group: General Forum Members
Points: 136813 Visits: 18209
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" ;-)
DBA328
DBA328
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2332 Visits: 1123
should be fine if you din't take transcation log backup. Becuase FULL/DIFF backup doesn't break log chain.

[li][/li]
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