Full VM Restore
Cheat sheet · https://pcornel.dk/topic.php?topic=3634
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 restoreImport-VM -Path <restored vmcx> -Copy -GenerateNewId— Hyper-VStart-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configuration | VM identity/hardware metadata | May need remapping |
| Disks | Protected virtual disks reconstructed | Not external storage automatically |
| Target | Compute/storage/network assigned | Must be compatible |
| Workload | Guest/application validates | End-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