Pcornel
Virtualization · VM Backup

Full VM Restore

Cheat sheet · https://pcornel.dk/topic.php?topic=3634

Back to the Topic

Answer

A full restore must map stored VM state onto target compute, storage, networks and security settings. Recovery can be to the original location, alternate host/cluster or isolated sandbox depending on the incident and product.

Remember

  • Full VM restore ≠ original environment automatically recreated.
  • VM registration/power-on ≠ guest/application readiness.
  • Network identity can create duplicate-IP/name risks during test restore.
  • External secrets, passthrough devices and services may not be contained in the backup.

First checks

  • qmrestore <backup> <newid> --storage <st> — full restore
  • Import-VM -Path <restored vmcx> -Copy -GenerateNewId — Hyper-V
  • Start-VM / qm start — boot test

Verify in this order

backup → VM recreated → boot → verify

Where it usually breaks

First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.

VM Backup → Full VM Restore reference map

BoundaryMeaningEvidence limit
ConfigurationVM identity/hardware metadataMay need remapping
DisksProtected virtual disks reconstructedNot external storage automatically
TargetCompute/storage/network assignedMust be compatible
WorkloadGuest/application validatesEnd-to-end proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3634

Confirmation

Confirm action

Continue?