File-level Restore
Cheat sheet · https://pcornel.dk/topic.php?topic=3633
Answer
Granular restore usually mounts, indexes or extracts guest filesystem content from an image-level or guest-level backup. It must preserve the required file content and, where relevant, metadata such as permissions, ownership, timestamps or alternate streams.
Remember
- File-level restore ≠ full VM recovery.
- Recovered bytes ≠ correct ACL/ownership/metadata.
- Restoring in place can overwrite newer data.
- Application files may require application-aware restore rather than raw file copy.
First checks
proxmox-backup-client mount ...— mount backup for filesMount-VHD <backup.vhdx> -ReadOnly— Hyper-V file restorerestic restore <snap> --include <path>— guest-level restore
Verify in this order
image backup → mount → copy files
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 → File-level Restore reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Selection | Exact point/path | Avoid wrong-version recovery |
| Extraction | Read object from backup | Proves object availability |
| Metadata | ACL/owner/timestamps as needed | May require explicit handling |
| Validation | Content/app use is correct | Final evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3633