Discussions specific to the VMware vSphere hypervisor
Post Reply
Posts: 1
Liked: never
Joined: Nov 25, 2019 3:32 am
Full Name: Yerassyl Aip

Shut down virtual machine before Backup jobs

Post by yerassell »

I have to shut down virtual machine before starting backup jobs, and power on after backup jobs. I know i can do it with scripts. But i can't imagine how to power on after backup. May be you know how to fix it?

Veeam Software
Posts: 8828
Liked: 1586 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria

Re: Shut down virtual machine before Backup jobs

Post by HannesK » 1 person likes this post

and welcome to the forums.

You can do that with a post-job script https://helpcenter.veeam.com/docs/backu ... l?ver=95u4

For example with PowerCLI and the Start-VM command.

Best regards,

Andreas Neufert
VP, Product Management
Posts: 5427
Liked: 1112 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany

Re: Shut down virtual machine before Backup jobs

Post by Andreas Neufert » 2 people like this post

Important point is that you can not use both wit VM scripts. You have to do this with Job Pre Post scripts.

The reason for the the shutdown script is, that we check the end result of the script and when there is no answer (shut down VM) we will let the job fail.

The suggestion is to look into VMware PowerCLI scripts to shutdown VMs and start them afterwards.

But overall why do you want to do this? The reason why I am asking is that Veeam actually set some stuff in the OS so that the OS is aware of a potential restore situation later. This is very important for some of the application that depend on this information. Better to just stop the service for the applications that do not support VSS or just bring them into bakup mode?

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests