Comprehensive data protection for all workloads
Post Reply
PedroVDP
Service Provider
Posts: 19
Liked: 2 times
Joined: Jan 18, 2012 9:10 am
Contact:

Post-backup script on succesful backup

Post by PedroVDP » Sep 11, 2012 12:53 pm

Hi there,

I've done some snooping around but I've not found this anywhere so far.

I have a VM which serves as a backup target for physical systems. These dump their data to this VM to be backed up using Veeam.

Would it be possible to start a script, on the guest, which would only run if the Veeam backup completes succesfully? Typical use would be launching a cleanup script of the files on the VM once they've been saved to the backup infrastructure.

Essentially what I'm looking to do is tap into the same space as the Veeam VSS agent when it's doing a log trunkate after a succesful backup. I'd like to launch my own script under similar conditions.

Somehow I'm under the impression the 'pre-backup' scripts with a :thaw tag isn't quite the same thing. that's the only info I found back.

Gostev
SVP, Product Management
Posts: 24785
Liked: 3513 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Post-backup script on succesful backup

Post by Gostev » Sep 11, 2012 1:45 pm

Hi Pedro, this is not currently possible, but I will keep this scenario in mind for future releases. Thank you!

Sethbartlett
Expert
Posts: 282
Liked: 25 times
Joined: Nov 10, 2010 6:51 pm
Full Name: Seth Bartlett
Contact:

Re: Post-backup script on succesful backup

Post by Sethbartlett » Sep 11, 2012 3:02 pm

You could do a batch script or powershell script for the post job script that checks if the vm or job ran successfully, then do some PStools or some remote call on the VM in question.
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me ;)
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.

droorda
Lurker
Posts: 1
Liked: never
Joined: Nov 15, 2012 2:59 pm
Full Name: Doug J Roorda
Contact:

Re: Post-backup script on succesful backup

Post by droorda » Nov 15, 2012 5:52 pm

Any word on implementing this for the script and for the executing of linked jobs in 6.5? without this the job linking and/or script feature is useless to me and i suspect many other users. It would be nice to not have to build a powershell script to properly handle job scheduling and error control.

Post Reply

Who is online

Users browsing this forum: AdsBot [Google], Google [Bot] and 35 guests