-
- Enthusiast
- Posts: 36
- Liked: 1 time
- Joined: Nov 28, 2011 5:18 pm
- Full Name: Tim Graffam
- Contact:
Run script after VM Copy job?
Is it possible to set a script to run after a VM Copy job? I know how to do this for Backup jobs, but I'm not seeing the same option to do so for copies. I assume that means it's not possible, but figured I'd check here before giving up entirely.
Thanks.
Thanks.
-
- Veeam Software
- Posts: 856
- Liked: 154 times
- Joined: Feb 16, 2012 7:35 am
- Full Name: Rasmus Haslund
- Location: Denmark
- Contact:
Re: Run script after VM Copy job?
Unfortunately no, however, what would you like to achieve? Perhaps there could be another way to do it?
Rasmus Haslund | Twitter: @haslund | Blog: https://rasmushaslund.com
-
- Enthusiast
- Posts: 36
- Liked: 1 time
- Joined: Nov 28, 2011 5:18 pm
- Full Name: Tim Graffam
- Contact:
Re: Run script after VM Copy job?
We'd like to copy the VM copy to a few other locations on the network after the job completes. I dont want to tie up Veeam resources and kick the copy off from the source again, so I was going to create a basic file copy script that did this after the job completed.
Outside of creating a Windows task to do this at some arbitrary time the job should be completed, any thoughts on how we can automatically start this process once the VM copy is done?
Thanks!
Outside of creating a Windows task to do this at some arbitrary time the job should be completed, any thoughts on how we can automatically start this process once the VM copy is done?
Thanks!
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Run script after VM Copy job?
You can trigger the job itself from the script as well and check it's completion status.
-
- Enthusiast
- Posts: 36
- Liked: 1 time
- Joined: Nov 28, 2011 5:18 pm
- Full Name: Tim Graffam
- Contact:
Re: Run script after VM Copy job?
Can you point me to documentation on how to best accomplish this? I'd be looking to do so with either PowerShell (preferred) or batch scripting.
Thanks!
Thanks!
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Run script after VM Copy job?
Here's the Veeam B&R PowerShell Reference and you can ask for assistance in the corresponding subforum, once it is required.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 53 guests