VM Data Processing
Backup from Storage Snapshots introduces a different mode of data processing for VMware vSphere VMs whose disks are hosted on storage systems.
Regular VM Data Processing
In the regular processing course, Veeam Backup & Replication uses a VMware vSphere snapshot. The VMware vSphere snapshot “freezes” the VM state and data at a specific point in time. This way, the VM data is brought to a consistent state suitable for backup or replication.
During regular VM data processing, Veeam Backup & Replication performs the following actions:
- Veeam Backup & Replication triggers a VMware vSphere snapshot for a VM. VM disks are put to the read-only state, and every virtual disk of the VM receives a delta file named like vmname-00001.vmdk.
- Veeam Backup & Replication copies VM data from read-only disks of the VM. All changes that the user makes to the VM while backup or replication is performed are written to delta files.
- When VM processing is finished, the VMware vSphere snapshot is committed. VM disks resume writes, and data from delta files is merged to the VM disks. After data is merged, the VMware vSphere snapshot is removed.
Regular VM data processing may take long. If backup or replication is performed for a VM running a highly transactional application, the delta file may grow large. The snapshot commit process will take much time, and the VM may hang up during this process. To overcome this situation, you can use Backup from Storage Snapshots.
Backup from Storage Snapshots
Backup from Storage Snapshots lets you speed up backup and replication operations. For Backup from Storage Snapshots, Veeam Backup & Replication complements the VMware vSphere snapshot technology with the storage snapshots technology, and uses storage snapshots as a source of data for backup and replication.
During Backup from Storage Snapshots, Veeam Backup & Replication performs the following actions:
- Veeam Backup & Replication triggers a VMware vSphere snapshot for VMs whose disks are hosted on the storage system.
- Veeam Backup & Replication triggers a storage snapshot of the volume or LUN hosting the VM itself and the created VMware vSphere snapshot.
- The VMware vSphere snapshot on the original storage volume is deleted immediately after the storage snapshot is created. Veeam Backup & Replication accesses the ‘cloned’ VMware vSphere snapshot on the storage snapshot and copies VM data from it.
- When VM processing is finished, the storage snapshot capturing the VMware vSphere snapshot is removed.
As a result, the VMware vSphere snapshot exists for a very short time, namely several seconds. Delta files do not grow large, and the time of VMware vSphere snapshot commit decreases.