Date: May 2008
Product & Version: All NVBU
OS Version: All
Module & Version: VMware Plugin 1.0.11
Application version: ESX 3.0 and higher
Symptom:
A backup using the VMware plugin fails and leaves the Virtual Machine image mounted instead of deleting it. Backups may fail with an error message saying "snapshot already exists"
Reason:
When a backup is aborted, it is unable to unmount the image after it has failed.
If this occurs, do one of the following:
- Run the following script on the VCB Proxy Server:
cscript /nologo post-command.wsf
Before executing this script, ensure that the VMware Consolidated Backup is properly configured. The essential configuration for Consolidated Backup is stored in config.js which resides in the VCB Framework installation folder.
Make sure you specify all options that do not have any default values.
- Alternatively, you can execute the vcbCleanup command (if supported on your VCB installation) to perform the cleanup. (This also depends on config.js).
After cleaning up in this manner, the temporary folder on either VCB Proxy or VMware server will be empty, but the machine that was backed up will still have an active backup snapshot on the ESX server, so you also need to:
- Log into your VI Server / ESX Server, right-click on the virtual machine -> Snapshot -> Snapshot Manager and delete the snapshot called "_VCB-BACKUP_".
For more information on these commands, refer to the relevant VMware documentation.