Quantcast
Channel: VMware Communities : Discussion List - Backup & Recovery
Viewing all articles
Browse latest Browse all 1844

Script to Boot up VMs after Backup Jobs ?

$
0
0

Hi, I do have the need to perform some "powered off" backups using Veeam (or any other software for the matter).

The "Powered off" backups would be performed like once a Qtr and I was looking if I can find a way to schedule the entire process but I have met a problem and need some kind advise.

 

Software:

- ESXi 5.1.0 1743533 with vCenter 5.1 (I do not know exact version)

- Veeam 7.0.0.871

 

Proposed task

1. Shutting down VMs (Running Windows 2008 & Windows 2012)

- To run 30 min before scheduled backup job

- Rather straightforward as shutdown can be scheduled via Windows or even viClient

 

2. Backup VMs

- run scheduled VM backup

- run scheduled Backup copy to tape (optional, can run almost anytime later)

- Run script to boot up VM

 

The problem

The problem now is that most backup software have the function to run scripts or batch files after the backup completes.

Can someone kindly guide me how to write a "DOS" batch file to boot up a Virtual Machine

 

Alternative

The only alternative that I have tried is to use vCenter to schedule a VM "power up" time. But if the backup exceeds the timing, I may not have a "powered down" VM backup copy.

 

Please kindly advise


Viewing all articles
Browse latest Browse all 1844

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>