Testing a Proxmox VM backup by restoring it with networking disabled
Restore a live VM's backup to a spare ID with its link down and check it through the guest agent.
Status: Off-host copy still to do.
What it’s for
Section titled “What it’s for”Proving a VM backup restores, without the copy clashing with the live VM’s IP or Tailscale identity.
What you need
Section titled “What you need”- A VM with the guest agent running
- A spare VM ID, for example 999
- Write a marker in the VM, then back it up:
qm guest exec 100 -- bash -c "date -u +restore-proof-%FT%TZ > /etc/proxmox-restore-proof"vzdump 100 --mode snapshot --storage local --compress zstd- Restore to the spare ID:
qmrestore /var/lib/vz/dump/vzdump-qemu-100-<stamp>.vma.zst 999- Unplug its network before booting:
qm set 999 --name restore-drill-100 --onboot 0 --net0 virtio,bridge=vmbr0,link_down=1qm start 999- Check it through the guest agent:
qm guest exec 999 -- bash -c "cat /etc/proxmox-restore-proof; ip -br link show eth0; uname -r"- Clean up:
qm stop 999 && qm destroy 999 --purgeCheck it worked
Section titled “Check it worked”The marker is there, and eth0 shows DOWN with NO-CARRIER.
Traps seen
Section titled “Traps seen”- Booting a restored copy on the same bridge clashes with the live VM’s IP and can take over its Tailscale session.
--maxfilesis gone in Proxmox VE 9. Use--prune-backups keep-last=N.- Backups on the same disk as the VMs are not off-host. Copying them to the NAS is still to do here.
Where this came from
Section titled “Where this came from”- Restoring a live VM backup with its network disabled (2026-10-19)