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
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1491 Visits: 1159
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
SSCarpal Tunnel
SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)

Group: General Forum Members
Points: 4033 Visits: 2279
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
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 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-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: 24370 Visits: 13698
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 (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)SSC Guru (53K reputation)

Group: General Forum Members
Points: 53399 Visits: 17672
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
SSC Eights!
SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)SSC Eights! (864 reputation)

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