I have updated the vmware server backup script. The changes this version are:
Added a large number of command line options. It is now possible to make changes to the backups without editing the script. The command line options are as follows:
backup [--all] [--excludevm vm] [--includevm vm] [--hot] [--cold] [--format tgz|tbz2] [--help]
–all Backup all registered VMs, except VMs that have been excluded
–excludevm Exclude a VM from backup
–includevm Add a VM to the list of VMs to back up
–hot Perform a hot backup (Backup using a snapshot)
The VM will remain running while the backup is happening
–cold Perform a cold backup (Backup using suspend)
The VM will be unavailable during the backup when this method is used.
–format Choose the output format, available formats are:
tgz – Create a gziped archive of the VM in the current directory
tbz2 – Create a bzip2 archive of the VM in the current directory, this option is much slower and uses more CPU than the tgz option
Examples:
Create a hot (online) backup of all registered VMs
backup –all –hot
Create a cold backup of a VM named foobar.com with the maximum compression
backup –includevm foobar.com –cold –format tbz2
The new script is here
Entries (RSS)