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
Mr or Mrs. 500
Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)Mr or Mrs. 500 (555 reputation)

Group: General Forum Members
Points: 555 Visits: 1132
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
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2477 Visits: 2254
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
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 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
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10286 Visits: 13687
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
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19850 Visits: 17242
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
Old Hand
Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)

Group: General Forum Members
Points: 308 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