Hello Jamie and thanks for your interest in the script.
When I setup a new vmware 1.x host I do the following.
Copy the script and its config file into /root
Make them executable (if they are not already) with
chmod +x backup_vmware.sh
chmod +x backup_vmware.conf
Then I download and install lzop (I use that as a compressor since it's faster than gzip) with the following commands:
tar -zxvf lzop-1.01-linux_i386.tar.gz
cp lzop-1.01-linux_i386/lzop /usr/bin/lzop
Then I download and install sendEmail (since I want to receive notification emails with the result of the backup):
tar -zxvf sendEmail-v1.55.tar.gz
cp sendEmail-v1.55/sendEmail /usr/bin/sendEmail
After that I create a directory where to make the backups and mount my nas on it:
and mount it to my openfiler's samba share
mount -t cifs -o user=myuser,password=mypassword //192.168.x.y/samba /mnt/openfiler-samba
Then I customize the backup_vmware.sh script with my custom parameters, specifically the following lines:
And last but not least I enable my VMs for backup by running the script as follows:
For example this will enable all my registered VMs for backup
Then check my settings by running the script with this options:
./backup_vmware.sh -D -c -s cold -f lzop
If all is ok I run the backup with the same command but removing the -c option (which forces the script to make a check and not to run the real backup)
./backup_vmware.sh -D -s cold -f lzop
You can then schedule the script with cron (remember to make it run it as root!)
Good luck with your backups!
----- Messaggio originale -----
> Da: Jamie Gadong <jamie....@googlemail.com
> A: vmsbackup <vmsb...@googlegroups.com
> Inviato: Mar 4 maggio 2010, 18:03:53
> Oggetto: [vmsbackup] The Basics
> Hi to all,
I am a bit of simpleton well at least I certainly feel like
> it. I have
read through the readme and the script itself and still can't get
I am running Vmware Server 1 on Redhat 5 OS.
> are the absolute minimum changes I need to make to the script for
it to run.
> Bearing in mind LVM option is false and it is a cold
Thanks to all that reply. If that is not clear enough please ask
> me a
question and I'll provide you any details required.
> received this message because you are subscribed to the Google Groups
> "vmsbackup" group.
To post to this group, send email to
> unsubscribe from this group, send email to vmsbackup+
> more options, visit this group at