-
- Lurker
- Posts: 1
- Liked: never
- Joined: Nov 25, 2019 3:32 am
- Full Name: Yerassyl Aip
- Contact:
Shut down virtual machine before Backup jobs
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?
-
- Product Manager
- Posts: 15127
- Liked: 3232 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Shut down virtual machine before Backup jobs
Hello,
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,
Hannes
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,
Hannes
-
- VP, Product Management
- Posts: 7200
- Liked: 1547 times
- Joined: May 04, 2011 8:36 am
- Full Name: Andreas Neufert
- Location: Germany
- Contact:
Re: Shut down virtual machine before Backup jobs
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?
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?
Who is online
Users browsing this forum: Google [Bot] and 55 guests