Creating a file or fullVM VCB backup on a disk by disk basisIssue
Typically a fullVM based backup of C: is required for most virtual machines for bare metal recovery. Large data disks may be backed up using other methods such as specific agents (e.g. Exchange, SQL) and can be marked as independent, so as not to be included in the snapshot for the fullVM based backup.
The issue occurs with file servers that may have data disks of hundreds of gigabytes or terabytes that are ideal candidates for a VCB file based backup, but cannot run a fullVM based backup due to the size of the data disk, and due to the data disk not being able to be marked as independent, otherwise the file based backup is not possible. ResolutionThe vmdkMounter.vbs script can be used instead of the VCB generic scripts to selectively mount multiple vmdk's in either file or fullVM mode in one command.
An unmount is only required when using a file based backup, as a fullVM backup is basically and export, not a mount. There are a couple options that can be uncommented in the script, otherwise all options are from the command line:
This will increase the verbosity of the messages in the Application Event Log, including the commands used to run the VCB utilities. Note: This option will expose passwords in the log.
This will create a single VMDK, rather than the default descriptor file and a -flat.vmdk. This compressed file needs to be imported on ESX using vmkfstools -i <source>.vmdk <destination>.vmdkThe vmdkMounter script is available here: http://theether.net/download/VMware/vmdkMounter.vbs
Inspired by: http://communities.vmware.com/blogs/jturver/2008/01/24/vcb-how-to-backup-a-selected-specific-disk-or-disks-using-vcbexport-and-a-useful-script-to-do-it Products
VMware Consolidated Backup 1.5
Created: 18th August 2009 |