v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Availability for the Always-On Enterprise

v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Veeam Logoby FloG » Tue Feb 07, 2017 12:30 pm

Just a short question about the execution time of the Pre- and Post-Scripts in Backup Copy Jobs: When are these scripts executed ? Unfortunately the documentation says nothing about this. I guess that the Pre-Script is executed when the new interval starts but what about the Post-Script ? Is it executed when all the data is copied (when the notification email is sent) or is it executed when the interval ends ?

For example, if I have a Backup Copy Job that copies my weekly backup to another repository (interval of 7 days) and the actual copy step takes 30 hours, is the Post-Script executed after the copying is done (after 30 hours) or is it executed when the interval ends (after 7 days) ? And in the latter case, how can I trigger the execution of the script directly after the actual copy of the data is done ?

Thanks in advance !

Florian
FloG
Influencer
 
Posts: 17
Liked: never
Joined: Mon Nov 21, 2016 1:27 pm
Full Name: Florian Guenzel

Re: v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Veeam Logoby foggy » Tue Feb 07, 2017 12:43 pm

Hi Florian, you're correct in your observations, the post-job script is triggered after all required data is copied.
foggy
Veeam Software
 
Posts: 15303
Liked: 1133 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Veeam Logoby FloG » Tue Feb 07, 2017 12:59 pm

Thanks ! And sorry ... I must have missed that thread :oops:

Just for clarification:
If all of the above is true it starts with the Synchronization process after that the Transform operations and then if both were successful and all the configured restore points were transferred, only then does it run the post script and goes into the Idle state phase where it waits for new restore points or the end of the configured synchronization interval, whichever happens first.

Does that mean, that the Post-Script is only executed if the Sync/Transform operations succeed ? So, when one VM out of 40 for some reason fails to get copied the Post-Script is not executed ?
FloG
Influencer
 
Posts: 17
Liked: never
Joined: Mon Nov 21, 2016 1:27 pm
Full Name: Florian Guenzel

Re: v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Veeam Logoby foggy » Wed Feb 08, 2017 11:09 am

Failed tasks shouldn't prevent script from running. It will not run only if there are any pending data processing tasks - in this case the script will be triggered when the interval expires.
foggy
Veeam Software
 
Posts: 15303
Liked: 1133 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: v9.5 - Question about Backup Copy Job Pre-/Post-Scripts

Veeam Logoby FloG » Wed Feb 08, 2017 12:19 pm

Thanks for the clarification !
FloG
Influencer
 
Posts: 17
Liked: never
Joined: Mon Nov 21, 2016 1:27 pm
Full Name: Florian Guenzel


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: baber, Lunatic Magnet and 1 guest