VMware VI ESX VCB backup commands

You can put your default VCHOST, USERNAME, PASSWORD in /etc/vmware/backuptools if you prefer

VMFS folders
$ vcbUtil -h localhost -u root -p password -s vmfolders

VMs

$ vcbVmName -h localhost -u root -p password -s any:

Backup

$ vcbMounter -h localhost -u root -p password -a uuid:myvm -r /vmimages/vmbk

Restore (to same location)

$ vcbRestore -h localhost -u root -p password -a uuid:myvm -r /vmimages/vmbk

Restore (to different location)

$ vcbRestore -h localhost -u root -p password -s /vmimages/vmbk/myvm -a /vmimages/my-alt-catalog

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s