Backup and recovery guide

Verify a VMBook backup by restoring a VM

A recovery rehearsal checks filesystem integrity, boot, application data and the time it takes to resume service.

Choose the source and backup store

The development backup engine supports VMBook-owned QEMU machines and libvirt domains. Use a backup store that survives the failure you are testing, such as a mounted share on a separate storage system. A scheduled job runs in the host service and can retain the most recent N backups.

Understand what is captured

The store deduplicates 4 MiB chunks by SHA-256 and omits all-zero chunks. Supported running VMBook qcow2 disks can use QEMU dirty bitmaps to read changed regions after the first backup. Without the incremental-read path the engine can still deduplicate stored chunks.

During live backup, guest writes flow to a temporary overlay while the point-in-time disk state is read. The supported libvirt path can freeze guest filesystems when a guest agent is available. Treat the result as crash-consistent unless the application itself participated and you have verified recovery.

Run a restore rehearsal

  1. Record the source identity, last application transaction and backup time. Keep the source running or preserved according to your lab plan.
  2. Restore the selected backup into a new machine. Keep the restored guest isolated until you have checked addresses and guest identity. VMBook verifies each stored piece’s hash and length during reconstruction.
  3. Boot the replacement, check disks, and test a real application read and write. Record the newest recovered data and elapsed time through the first successful transaction.
  4. Where a lab has two comparable, quiescent images of the same capture, use a byte-level disk comparison as another independent check. A comparison measures disk content and the application check measures whether the restored service works.

Evidence and provider limits

The development test definition includes a running VM backup, restoration into a new machine and disk comparison with qemu-img compare. The guide documents the test procedure. Provider-owned ESXi 9 native 4Kn VMDK image-level backup and full restore have not been validated by VMBook. The store’s 4 MiB deduplication chunk is independent of a VMDK’s 4 KiB logical sector size.