Run script after restore job

Availability for the Always-On Enterprise

Run script after restore job

Veeam Logoby HappyAlex » Fri Mar 17, 2017 8:16 am

Hi
I would like to run some powershell script after restoration jon ( if it done successfully)
any one have idea how to do this ?

Thx
HappyAlex
Lurker
 
Posts: 1
Liked: never
Joined: Wed Jan 28, 2015 3:54 am
Full Name: Alexey Shalin

Re: Run script after restore job

Veeam Logoby Shestakov » Fri Mar 17, 2017 9:24 am

Hi Alexey and welcome to the community!
Since restore is not a job which can be started automatically, there is no such an UI option.
As a workaround I would try to create Veeam ONE alarm triggering on successful restores and set the desired script as an alarm action.
Thanks!
Shestakov
Veeam Software
 
Posts: 4361
Liked: 339 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Run script after restore job

Veeam Logoby v.Eremin » Fri Mar 17, 2017 5:00 pm

Alternatively, you can do both tasks within one script - restore whatever item or VM you want to and proceed to post-restore action afterwards.
v.Eremin
Product Manager
 
Posts: 12400
Liked: 892 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: aschalk, Dave1981, dellock6, Google [Bot], JoshuaPostSAMC, n.barthelemy31, tdewin, Yahoo [Bot], zmedgyesi and 65 guests