Proxmox Backup Server Setup: A Homelab Tutorial
Deduplicated nightly backups of every VM and container, in four steps, plus the restore test most people skip.
By Brandon Sheley · Updated
Short answer: install Proxmox Backup Server on a separate machine from the ISO, create a datastore with prune, garbage collection and verify schedules, add it to Proxmox VE under Datacenter → Storage with its fingerprint, then schedule nightly backups and test a restore. Keep a second copy off-site with a sync job.
The steps and requirements below follow Proxmox's own PBS documentation for the current 4.x release, trimmed to what a homelab actually needs.
What Proxmox Backup Server Does Differently
Proxmox VE can back up to any directory or NFS share on its own. Proxmox Backup Server (PBS) is a separate, free product that makes those backups much better: it splits each backup into chunks and stores every chunk once, so the second and later backups of a VM only add what changed. That makes daily backups of every guest practical even on modest disks.
- Deduplicated, incremental backups of VMs and containers, scheduled from Proxmox VE like any other backup.
- Verification: scheduled jobs re-read backups and check them against stored checksums, so you find a bad backup before you need it.
- Client-side encryption (AES-256-GCM), so the backup server never sees your data unencrypted.
- Off-site copies: sync jobs pull a datastore from one PBS to another, and PBS 4.x can also use an S3-compatible object store as a datastore backend.
- File-level restore: browse a backup and pull out single files without restoring the whole VM.
Where to Run It (Not on the Thing It Backs Up)
Proxmox recommends a separate physical machine for PBS, so your backups survive the hypervisor dying. It can be installed on a Proxmox VE host, but the docs say that's not recommended, for exactly that reason. For a homelab, the realistic options are:
- An old mini PC or desktop with big disks. The best fit. A used business PC with a couple of large hard drives is plenty for a home cluster.
- A VM on a different machine, like a NAS that can run VMs, with the datastore on that machine's storage.
- A VM in the same cluster, as a stopgap, with its datastore on storage outside the cluster and a sync job copying it somewhere else. Better than nothing, not a final answer.
Sizing from the PBS docs: a 64-bit CPU with at least 4 cores, at least 4GiB of RAM plus roughly 1GiB per TiB of backup storage, and 32GiB for the OS. Backups are lots of small random reads and writes, so SSDs are ideal; if you use hard drives, the docs strongly recommend an SSD metadata cache, such as a mirrored ZFS special device. Current drive prices are on the disk tracker.
Step 1: Install PBS
From the ISO (recommended): download the current Proxmox Backup Server ISO, write it to a USB stick (2GB or larger), and boot the machine from it. The installer works like Proxmox VE's: pick the OS disk and filesystem (ext4, XFS or ZFS), set the network and root password. Current releases are PBS 4.x on Debian 13.
On an existing Debian 13 system: add the Proxmox Backup Server repository and run:
apt update
apt install proxmox-backup-server # minimal set; "proxmox-backup" matches the ISO install
Then open https://<pbs-ip>:8007 and log in as root.
Step 2: Create a Datastore and Set Retention
A datastore is the folder (or ZFS dataset) where backups live. Mount the backup disk first, then create it with Add Datastore in the sidebar, or from the shell:
proxmox-backup-manager datastore create store1 /mnt/datastore/store1
When you create it, set three schedules:
- Prune decides which backups to keep, such as keep-last 3, keep-daily 7, keep-weekly 4, keep-monthly 6.
- Garbage collection actually frees the disk space. Pruning only removes backup snapshots from the index; the chunks they used are deleted by the next GC run, so schedule GC to run regularly (weekly is fine at home).
- Verify re-checks backups against their checksums. Add a verify job, too; weekly or monthly is typical.
Then create a dedicated user for Proxmox VE (Configuration → Access Control), for example backup@pbs, and give it the DatastoreBackup role on this datastore only, rather than using root.
Step 3: Add PBS to Proxmox VE
On the Proxmox VE side, go to Datacenter → Storage → Add → Proxmox Backup Server and fill in the server address, the user and password (or an API token), the datastore name, and the server's fingerprint. The fingerprint is on the PBS dashboard (Show Fingerprint), or from proxmox-backup-manager cert info. It's needed because PBS uses a self-signed certificate by default.
The same thing from the Proxmox VE shell:
pvesm add pbs pbs-store1 --server 10.0.10.50 --datastore store1 \
--username backup@pbs --fingerprint <fingerprint> --password
Encryption is set here, on the Proxmox VE side. Choose to generate an encryption key when adding the storage, then save a copy of that key somewhere that isn't the Proxmox host. Without it, encrypted backups can't be restored, by anyone.
Step 4: Schedule Backups and Test a Restore
Under Datacenter → Backup → Add, pick the PBS storage, a schedule (nightly is typical), which guests to include, and Snapshot mode so guests keep running during the backup. Leave retention to the datastore's prune settings.
Then restore something. Restore one VM to a new ID, boot it, and delete it. Try a file-level restore from a container, too. A backup you haven't restored isn't one you know works.
Finally, get a copy off-site. A second PBS somewhere else can pull your datastore with a sync job, or a PBS 4.x datastore can sit on S3-compatible object storage (watch the provider's storage, request and egress costs). One local copy plus one off-site copy covers most of what can go wrong at home.
Related Resources
Mini PC Proxmox Cluster
A cluster gives you uptime, not backups. Build both.
Data Hoarding & Backups
My wider backup philosophy and the tools around it.
Hard Drive & SSD Price Tracker
Live $/TB for the disks a backup server needs.
TrueNAS Scale on Proxmox
A NAS that can also host the backup datastore.
Proxmox Updates
What's new in Proxmox Backup Server and VE.
Used OptiPlex vs Mini PC
Cheap used hardware that makes a good PBS box.
Frequently Asked Questions
Can I run Proxmox Backup Server on my Proxmox VE host?
You can install it there, but Proxmox's documentation says it isn't recommended. If the host fails, its backups go with it. Run PBS on a separate machine, or at least keep its datastore on storage outside the host and sync it somewhere else.
How much storage does Proxmox Backup Server need?
Less than you'd expect, because PBS stores each unique chunk of data only once. After the first full backup, later backups of the same guest mostly add changed data. Size it for the full first backup of everything plus room for changes and retention, and give PBS about 1GiB of RAM per TiB of backup storage on top of a 4GiB base.
Why didn't pruning free up space on my PBS datastore?
Pruning only removes backup snapshots from the index. The data chunks they used are deleted by the next garbage collection run, so space comes back after GC. Make sure the datastore has a garbage collection schedule.
Is Proxmox Backup Server free?
Yes. PBS is free and open source, like Proxmox VE. A paid subscription adds the enterprise repository and support, but the software and the free no-subscription repository work without one.