Host-based backup of VMware vSphere VMs.
Post Reply
harleyd
Novice
Posts: 9
Liked: 2 times
Joined: Jan 31, 2013 8:24 pm
Contact:

UPS Shutdown Script

Post by harleyd »

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
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: UPS Shutdown Script

Post by Dima P. »

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.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: UPS Shutdown Script

Post by foggy »

...which could be triggered via a batch script.
dellock6
Veeam Software
Posts: 6137
Liked: 1928 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: UPS Shutdown Script

Post by dellock6 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 100 guests