Skip to content

Lesson 6 of 9 · 28m

Backups, PBS, and Restore Drills

Backup modes, Proxmox Backup Server, retention, encryption, verification, and why an untested backup is only a hope with timestamps.

A backup system is not the job of copying bytes. It is the job of restoring a service at an acceptable time, to an acceptable point, after an unpleasant surprise. Proxmox can dump guests directly, but Proxmox Backup Server is usually the serious answer because it gives deduplication, verification, pruning, indexing, and fast incremental backups.

Know the backup modes

Snapshot mode uses storage or hypervisor mechanisms to reduce downtime while copying. Suspend mode pauses the guest for consistency. Stop mode shuts the guest down before backup and starts it after, trading downtime for simplicity.

Filesystem consistency is not application consistency. A quiet filesystem does not guarantee that PostgreSQL or a busy application wrote a logically clean checkpoint. Use guest-agent freeze hooks, database dumps, or application-native backup jobs where the service justifies them.

PBS architecture in one picture

PVE nodes ── incremental backups ──> PBS datastore ── sync/copy ──> offsite PBS or object tier
      │                                    │
      └──── restores, live-restore ────────┘

PBS chunks content, deduplicates across backups, and verifies chunk integrity. Encryption keys belong to you; losing them can make backup contents unrecoverable even when the chunks are intact.

Configure retention deliberately

Retention is a business decision expressed as technical settings. A common starting point is daily backups for a week, weekly backups for a month, and monthly backups for a year — adjusted for storage and compliance.

proxmox-backup-client backup vm/101 --backup-id 101
pvesm status

In practice most schedules are configured in the web UI under Datacenter backup jobs or PBS-side jobs. The important habit is reading the actual retention settings and testing that pruned inventory matches expectation.

Restore is the feature

Run a restore to a different VMID or isolated network before you need it:

qmrestore /mnt/pbs-backup/vm/101/2026-11-29T02:00:00Z.vma.zst 901

For PBS-backed datastores the path and UI flow differ, but the principle is the same: restore somewhere non-destructive, boot it without production network identity, verify application health, and record how long it took. Recovery time objective is measured in minutes of real work, not optimism.

Protect the backup system

The backup server is a high-value attack target. Use separate credentials, firewall it, patch it, and avoid making every hypervisor a root-equivalent backup administrator. Offline or offsite copies matter because the same ransomware operator who reaches production will look for backups immediately.

Field notes

  • The 3-2-1 rule is still useful: three copies, two media or systems, one offsite. ZFS snapshots alone do not satisfy it.
  • Verify backup job logs after changes to storage, network, guest names, and authentication. Silent job failure is common operational rot.
  • A backup that cannot be restored because the encryption key was only on the failed host is a compliance artifact, not a backup.
  • Live restore can boot quickly from PBS while data streams in, but performance during that period depends on network and backend health.
  • Test restores of entire services, including DNS, secrets, certificates, and dependency order — not just whether a VM powers on.

Was this lesson helpful?

Sign in to rate