Finally I got some time to update my VMWare Backup Script!

I had to change some of the features I had in mind. But it is still enough to get a backup done. So first, let’s see what we have to do on our VMWare Infrastructure Server. The custom fields we defined earlier have to be changed as follows:

0_BackupEnabled (”Yes” to enable)
1_BackupAccess (nbd, san, …)
2_BackupRotation (days to store the backup)
3_BackupCurrentStatus
4_BackupLastStatus
5_BackupSize (in kb)
6_BackupTime

So after updating the custom fields as described we can use the finished script to enable the backups by editing the custom fields for every virtual machine you want to backup. It’s quite easy and you can enable the backup of a virtual machine after creating a new one. No need to edit configuration files on the backup server, or to add new backup schedules.

The finished script can be downloaded here: http://idisk.mac.com/polysign-Public?view=web
(Folder “code”, Filename: vcbackup.txt)

Just edit the configuration in the script file and you are good to go. Have fun!