01
What is Proxmox Backup Server?
Proxmox VE can already back up its machines to plain files. Proxmox Backup Server goes further. It is a separate system, to install on another machine than your VMs, from its ISO image, with its own web interface on port 8007. It is free and open source; a paid subscription from the vendor gives access to the "enterprise" repository and to support.
- Deduplication: a VM's disk is split into fixed-size chunks (typically 4 MiB), identified by their checksum. A chunk already on the server is not stored a second time, even if it comes from another VM or another backup.
- Incremental backups: for a running VM, Proxmox VE keeps track of the blocks changed since the last backup (a "dirty bitmap") and sends only those. Each backup is still complete and can be restored on its own.
- Compression with Zstandard, and transport encrypted with TLS.
- Verification: each chunk carries a SHA-256 checksum, which PBS can check again at regular intervals to detect a failing disk.
- Client-side encryption, as an option: data is encrypted on Proxmox VE before leaving, and the backup server never sees it in clear.
The Proxmox VE documentation recommends installing PBS on a dedicated host. A backup on the same server as the VMs protects neither against a server failure nor against a mistake that wipes it entirely.
02
Prepare PBS and add it to Proxmox VE
On the PBS server, three preparations:
- A datastore, the space where backups are kept: Datastore menu, Add Datastore button, with a name (for example
store1) and the folder to write it to.
- A dedicated account rather than
root: Configuration › Access Control › User Management, for example sauvegarde@pbs. Give it the DatastoreBackup role on the datastore, which allows backing up and restoring its own backups, but not deleting them:
proxmox-backup-manager acl update /datastore/store1 DatastoreBackup --auth-id sauvegarde@pbs
- The certificate fingerprint: on the Dashboard, Show Fingerprint button, or on the command line with
proxmox-backup-manager cert info. Proxmox VE needs it to trust PBS's self-signed certificate.
In Proxmox VE, open Datacenter › Storage › Add › Proxmox Backup Server, then fill in: an ID for this storage, the "Server" (PBS's IP address or name), the "Username" with its realm (sauvegarde@pbs), the "Password", the Datastore (here store1) and the Fingerprint. The same on the command line, on the Proxmox VE host (the password is asked for afterwards):
pvesm add pbs pbs1 --server 192.0.2.10 --datastore store1 --username sauvegarde@pbs --fingerprint 64:d3:ff:… --password
pvesm status --storage pbs1
Replace the address and fingerprint with yours. Do not leave PBS's port 8007 open to the whole Internet: restrict it to your Proxmox VE server's address, or link the two machines through a VPN (see setting up a WireGuard VPN).
03
Schedule backups and set retention
The scheduled job. Datacenter › Backup › Add. In the "General" tab:
- Storage: the PBS storage added above;
- Schedule: the time, in a format close to systemd timers:
02:30 for every day at 2:30 am, mon..fri 22:00 for weekday evenings. The drop-down list offers examples;
- Selection mode: all VMs and containers, a selection, or all except some;
- Mode: Snapshot backs up without stopping the machine; with the QEMU agent installed, writes are frozen for a moment for a consistent copy (see creating a VM on Proxmox). Stop shuts the machine down cleanly then starts it again as soon as the backup has begun: the most consistent copy, at the cost of a short interruption.
In the Advanced tab, the Repeat missed option runs a backup that was missed because the server was off as soon as possible. The Run now button allows a first test.
Retention sets how many backups are kept:
keep-last: the last N, whatever their date;
keep-daily, keep-weekly, keep-monthly, keep-yearly: the last backup of each of the last N days, weeks, months or years (and keep-hourly for hours). A period without a backup does not count.
The documentation's example, for one backup per day: keep-last=3, keep-daily=13, keep-weekly=8, keep-monthly=11, keep-yearly=9. You can set it in Proxmox VE ("Retention" tab of the job or the storage), but with the DatastoreBackup role, Proxmox VE cannot delete anything: set it on PBS instead, in the datastore's Prune & GC tab, with a prune job. The benefit: if the Proxmox VE server is ever compromised, it cannot erase its own backups.
On PBS, two jobs complete the setup. Pruning only removes the index of old backups: garbage collection (same tab) is what actually frees the space, and once a week is enough to start with. And a verify job (Verify Jobs tab) reads the backups again; the documentation advises re-verifying everything at least once a month.
04
Restore a VM or a file
Backups appear in Proxmox VE's PBS storage, under Backups, and in each VM's "Backup" tab. Pick a backup, then:
- Restore: recreates the VM. Restoring over an existing VM replaces its disks; to compare before choosing, restore under a new VM ID instead.
- Live restore: a box in the restore window. The VM starts right away and its data is copied in the background, starting with what it reads. It runs slower during the copy, and if the restore fails midway, data written in the meantime is most likely lost.
- File Restore: a button in the PBS storage's "Backups" section, which opens the backup like a file browser and lets you recover a file or folder without restoring the whole machine. This feature only exists for backups stored on PBS.
Run a full test restore as soon as everything is set up, then from time to time: it is the only way to know your backups really work.
05
A copy elsewhere, and encryption
A copy on another machine. PBS on a second server already protects against losing the first. To also guard against losing the backup server, or a whole site, a second PBS elsewhere can fetch the first one's backups with a sync job (the datastore's Sync Jobs tab, after declaring the first server as a remote under Remotes). Only new data is transferred.
Client-side encryption. In the Encryption tab of the PBS storage in Proxmox VE, the "Auto-generate a client encryption key" option creates a key: backups are then encrypted with AES-256 (GCM mode) before leaving the server. This is useful when PBS is hosted on a machine you do not fully trust. Three points to remember, from the documentation:
- Without the key, the backups are unreadable. It is stored on the host in
/etc/pve/priv/storage/<ID>.enc: if the host is lost, so is the key. Keep a copy off the machine, for example in a password manager and on a USB stick stored somewhere safe. The proxmox-backup-client key paperkey command also produces a printable version.
- Deduplication does not work across different keys: backups encrypted with different keys do not share their chunks.
- Pointless on a trusted network: the documentation advises against encryption when it brings no benefit, since an unencrypted backup is always easier to restore.
06
On a CloudFive dedicated server
CloudFive does not offer a Proxmox Backup Server service: you install and manage it yourself, on a machine you control. Our dedicated servers, from €75 per month for an entry-level Xeon, suit both roles:
- The host for your VMs: a dedicated server delivered with Proxmox VE (see Proxmox dedicated server), the Ryzen 9 models with 5, 10 or 20 IP addresses included depending on the memory.
- The backup server: a second dedicated server delivered bare (bare metal server) on which you install PBS from its ISO. To protect against losing a whole site, add a copy outside our infrastructure, with a sync job.
Our dedicated servers are delivered within 24 to 72 hours after the quote is approved, with no commitment and no setup fee, and support answers in French 7 days a week by ticket, on Discord and by phone. To get the host started, see installing Proxmox on a dedicated server, and to choose the machines, renting a dedicated server.
07
Frequently asked questions
Is Proxmox Backup Server free?
Yes. Proxmox Backup Server is open-source software, under the AGPL v3 licence, usable without a subscription. The vendor's paid subscription gives access to the enterprise update repository and, depending on the level, to support.
How do I add Proxmox Backup Server to Proxmox VE?
In Proxmox VE, open Datacenter, Storage, Add, Proxmox Backup Server. Enter the PBS server's address, an account with its realm (for example sauvegarde@pbs), its password, the datastore name and the certificate fingerprint, shown on the PBS dashboard.
Can Proxmox Backup Server run on the same server as Proxmox VE?
It is technically possible, but the documentation recommends a dedicated host. A backup kept on the same server as the VMs disappears with it in case of failure, mistake or attack.
What do keep-daily and keep-weekly do?
They are retention options. keep-daily=7 keeps the last backup of each of the last 7 days that have one, keep-weekly=4 that of each of the last 4 weeks. Backups that match no rule are removed when pruning, and the space is freed by garbage collection.
Does CloudFive offer a Proxmox Backup Server service?
No. CloudFive does not sell a PBS service: you install it yourself on a machine you manage, for example a second dedicated server delivered bare. Our dedicated servers can also be delivered with Proxmox VE to host your VMs.