Skip to content
AutoRPO

How to test Proxmox backups

The only way to know a backup will restore and run is to restore it and run it. This guide shows how to do that by hand with Proxmox VE and Proxmox Backup Server, safely, and what to watch out for. At the end it covers how to automate it.

A PBS verify job checks your backups' data is intact, but it can't tell you whether a VM boots or its applications work. That's what a restore test is for.

What you need #

  • A separate, standalone Proxmox VE host to restore onto. Not a node of your production cluster: a test copy there shares the cluster's VMIDs and configuration, and is one wrong click from production. A spare server, or a VM with nested virtualisation, is enough.
  • Storage on that host larger than the VM you're testing, and memory to boot it.
  • Read access to your PBS datastore from that host, added as storage (Datacenter → Storage → Add → Proxmox Backup Server). A read-only token is enough for restoring.
  • The encryption key, if the backup is encrypted.

1. Create an isolated network #

Give test copies a Linux bridge with no physical port and no IP address, so nothing on it can reach your network or the internet. On the test host, add to /etc/network/interfaces:

auto vmbr99
iface vmbr99 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0

Then apply it with ifreload -a. (Or create it under the host's System → Network → Create → Linux Bridge, leaving Bridge ports and the IP address empty.)

2. Restore with a unique VMID, without starting it #

In the web interface: open the PBS storage on the test host, select Backups, choose the snapshot and click Restore. Pick a VMID nobody else uses, the target storage, tick Unique (a new random MAC address for each network card), and leave Start after restore unticked.

On the command line: find the snapshot, then restore it. For a VM (qmrestore):

pvesm list pbs-store --vmid 100
qmrestore pbs-store:backup/vm/100/2026-10-01T02:00:00Z 9100 --storage local-lvm --unique 1

For a container (pct restore):

pct restore 9101 pbs-store:backup/ct/101/2026-10-01T02:00:00Z --storage local-lvm --unique 1

Don't add an option to start the guest. Note the time the restore started and finished.

3. Cut it off before it starts #

The restored configuration still points at the original bridge, which on many hosts is connected to your real network. Before starting anything:

  • Move every network card to vmbr99. Check the current settings with qm config 9100, then set each one again with only the bridge changed, for example qm set 9100 --net0 virtio,bridge=vmbr99. Remove any VLAN tag. For a container, change the bridge in its Network tab (or pct set), keeping its other settings.
  • Remove network cards you don't need (qm set 9100 --delete net1).
  • Remove mounted ISOs, USB and PCI passthrough devices, which may not exist on this host: qm set 9100 --ide2 none,media=cdrom and qm set 9100 --delete hostpci0,usb0 as needed.

See the qm manual for the full option list.

4. Start it and check it #

  1. Start it (qm start 9100, or pct start 9101) and watch the console. Note how long it takes to boot.
  2. Log in on the console (it has no network, so use a local account or cached credentials).
  3. Check what matters for that server: its services are running, disks are mounted, databases open and list their tables, the web application answers on 127.0.0.1, recent data is there.
  4. Write down the result: the backup's date, restore time, boot time, what you checked and who checked it. This record is your evidence.

5. Clean up #

Delete the copy when you're done, so it doesn't use storage or get started by mistake:

qm destroy 9100 --purge
pct destroy 9101 --purge

Pitfalls #

  • IP address and hostname conflicts. A copy that starts on a production bridge comes up with the same IP address and hostname as the live server. Always move the network cards before the first start.
  • Duplicate MAC addresses. Without Unique, the copy keeps the original's MAC addresses. Even on an isolated bridge, it's safer not to.
  • Active Directory domain controllers. A restored domain controller must never reach production. Starting an older copy of a DC alongside the live ones can cause a USN rollback, which silently breaks replication. Test DCs only on the isolated network, and destroy the copy afterwards.
  • Time. The copy starts with the host's clock. A large difference, or certificates that expired since the backup was taken, can make services or Kerberos sign-in fail in ways that have nothing to do with the backup. Make sure the test host's time is correct.
  • Hardware changes. A new MAC address looks like a new network card to the guest: Windows may give it a fresh adapter, and some Linux network configurations match on MAC. Some software licences and activations are tied to hardware IDs and may complain. cloud-init images may reconfigure themselves when they see changed hardware.
  • Encrypted backups. Without the key there's no restore. Testing regularly is how you find out the key is missing before you need it.
  • Storage and memory. The test host needs room for the largest VM you test, and memory to boot it.
  • Load on PBS and the network. A restore reads the whole backup. Schedule tests outside your backup window, and away from PBS verify and garbage collection jobs.
  • Forgetting. A manual test happens when someone remembers. Most of the value comes from testing every VM, regularly, and keeping the records.

Automating it #

Doing this by hand for every VM, every month or quarter, takes hours. AutoRPO does each step above for you:

  • restores the newest backup of each VM and container from PBS onto its own standalone host;
  • keeps every test copy cut off from your network and your production servers;
  • checks it boots and that its services, databases, web servers, Docker apps and domain controllers work, plus your own script;
  • measures backup age and restore time against your targets, and fits tests between your backup runs;
  • queues each result for sign-off (or signs passing tests off automatically, marked as automatic), deletes the copy, and adds it to a signed monthly Restore Evidence Report.

See how AutoRPO automates Proxmox restore testing, or read the features and pricing. The isolation rules are in Restore target and isolated network.

Let AutoRPO restore-test your Proxmox backups

Limited pre-launch trials are open now: apply on the waitlist form.