Home › Documentation › Agents › VMware
VMware vSphere
Applies to vSphere 7.0 and 8.0. Requires the Server plan. Free ESXi is not supported because it does not expose the backup APIs.
How it works
There is no agent for ESXi itself. A Windows Server or Linux device with the agent installed acts as a proxy: it connects to vCenter (or directly to a host), asks for a snapshot of each selected VM, reads the virtual disks over the network and removes the snapshot. Changed Block Tracking is used after the first backup.
Each vCenter or standalone host connection counts as one device.
Requirements
- A proxy device with network access to vCenter on 443/tcp and to each ESXi host on 902/tcp
- A vCenter account with the privileges listed below
- VMware Tools in guests for application-consistent snapshots
Connect
cbk vmware connect --server vcenter.hq.local --user svc-backup@vsphere.local
cbk vmware list
cbk vmware select --folder "Production"
The password is prompted for and stored encrypted on the proxy.
Privileges
Create a role with at least:
- Datastore: browse, low-level file operations
- Virtual machine › Snapshot management: create, remove
- Virtual machine › Provisioning: allow read-only disk access, allow virtual machine download
- Virtual machine › Change configuration: toggle disk change tracking
- Global: disable methods, enable methods, licenses
Transport
The proxy reads disks using network transport (NBD over TLS). Hot-add transport is used automatically if the proxy is itself a VM on the same cluster, and is considerably faster.
Restoring
Whole VMs can be restored to the original or a different host or datastore. File-level restore from Windows guests is supported. See Full system restore.
Limitations
- Independent disks and physical-mode RDMs are skipped.
- VMs with existing snapshots are backed up, but Changed Block Tracking is reset, so that job reads every block.
- vSAN is supported. vVols are not tested.