Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a VMware ESX server running some VMs that do some important stuff for me.

I'd like to create a Scheduled Task in Windows that will periodically make a copy of those VMs and store them somewhere for backup purposes.

I figure at the very least a batch script could drive this, but I'm not sure what commands I can use to invoke this. I bet VMware has a utility for this.

Can someone please toss me the name of such a command-line tool? Or perhaps some other solution that sounds like it'd meet my needs?

Much thanks!

share|improve this question
Since asking this, I've learned that storing my VMs on a SAN or NAS is very handy to this end. Classically I've just put HDDs in my VHosts and that's made complete backups a pain. As it stands, I now have a NAS providing NFS service to my vhosts. The NAS then is also responsible for backups. Additionally, I've developed a tiny script that gives me full-disk backups and archives them both to a backup storage machine AND to Amazon S3. – Doc Feb 19 '14 at 20:31
up vote 2 down vote accepted

There is a free script that you can run on the ESX/i server that will snapshot the running VMs (or shut them down for backup) - this is probably the best way to do what you want; we are running this script on three production servers and it's really easy to use. - Free alternative for backing up VM's for ESX(i) 3.5, 4.x+ & 5.x

This script performs backups of virtual machines residing on ESX(i) 3.5/4.x+/5.x servers using methodology similar to VMware's VCB tool. The script takes snapshots of live running virtual machines, backs up the master VMDK(s) and then upon completion, deletes the snapshot until the next backup.

This script has been tested on ESX 3.5/4.x/5.x and ESXi 3.5/4.x/5.x and supports the following backup mediums: LOCAL STORAGE, SAN and NFS.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .