Hi there,
I would like to setup a custom UPS batch script that can stop any running Veeam jobs when the power goes out. Can anyone please tell me how/if this can be done via at batch script?
Thanks,
Derek
-
- Novice
- Posts: 9
- Liked: 2 times
- Joined: Jan 31, 2013 8:24 pm
- Contact:
-
- Product Manager
- Posts: 14715
- Liked: 1702 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: UPS Shutdown Script
Hello Derek,
I am not aware of how this could be done thru the custom batch script but I guess this task could be achieved thru the PowerShell: Stop-VBRJob.
I am not aware of how this could be done thru the custom batch script but I guess this task could be achieved thru the PowerShell: Stop-VBRJob.
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: UPS Shutdown Script
...which could be triggered via a batch script.
-
- VeeaMVP
- Posts: 6165
- Liked: 1971 times
- Joined: Jul 26, 2009 3:39 pm
- Full Name: Luca Dell'Oca
- Location: Varese, Italy
- Contact:
Re: UPS Shutdown Script
Just a note about the planning: remember even if a job is stopped, its complete stop can happen after some time and not immediately. The snapshot of a pending VM needs anyway to be removed in the hypervisor before the job is actually declared stopped, so plan for some additional time to actually stop the backup job correctly.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1