Discussions specific to the VMware vSphere hypervisor
Post Reply
harleyd
Novice
Posts: 9
Liked: 2 times
Joined: Jan 31, 2013 8:24 pm
Contact:

UPS Shutdown Script

Post by harleyd » Oct 07, 2014 4:17 am

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: 10870
Liked: 897 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: UPS Shutdown Script

Post by Dima P. » Oct 07, 2014 12:20 pm

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: 18552
Liked: 1606 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: UPS Shutdown Script

Post by foggy » Oct 07, 2014 3:09 pm

...which could be triggered via a batch script.

dellock6
Veeam Software
Posts: 5809
Liked: 1662 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: UPS Shutdown Script

Post by dellock6 » Oct 11, 2014 11:16 pm

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 -> 2019
Veeam VMCE #1

Post Reply

Who is online

Users browsing this forum: George Boncea, Google [Bot], Samba222 and 35 guests