Does the post job command run only if the backup job is successful? The reason I ask is that each day, during our daily checks, I have to check the Veeam job and the subsequent Backup Exec job that runs via the post job command. I'm hoping that the post job command is only invoked after a successful backup from Veeam thus during my daily checks, if the backup exec job ran, the Veeam job can be assumed to be successful (I have individual Veeam/Backup Exec jobs for each VM guest). It's not much, but hopefully it will save a little time with the dull admin function of my job!
Hi Danny, the command will run every time, however you can easily query last job result with PowerShell script via GetLastResult().
The following script will run selected EXE file passing path to the latest Veeam backup file as an argument (but only as long as the job was successful). It will also set archive bit on every Veeam backup file processed to prevent it from being archived to tape more than once.