Cloud and Self-Hosting

Proxmox Backup Server: The Complete Guide (PBS 4.2 Install, Datastore, Prune, Sync and S3)

Proxmox Backup Server 4.2 step by step: install, create a datastore, add it to Proxmox VE, set prune, garbage collection and verify jobs, sync offsite and S3.

By Amjid Ali · · Updated · 7 min read

Proxmox  Backup Server : an Ultimate Guide: SyncBricks cover
In this article
  1. Quick steps
  2. Why use Proxmox Backup Server instead of plain vzdump
  3. Proxmox Backup Server requirements
  4. How to install Proxmox Backup Server
  5. Create a datastore
  6. Create a backup user for Proxmox VE
  7. Add Proxmox Backup Server to Proxmox VE
  8. Prune, garbage collection and verify jobs
  9. Offsite copies: sync jobs and remote PBS
  10. Proxmox Backup Server with S3 object storage
  11. Restore a VM or single files
  12. Troubleshooting

Proxmox Backup Server (PBS) is Proxmox's free, open source backup server for Proxmox VE virtual machines, containers and Linux hosts. It stores backups as deduplicated, compressed chunks, so after the first full backup each job only sends what changed, and it adds encryption, verification, pruning, offsite sync and (since PBS 4.2) fully supported S3 object storage. To use it: install PBS on separate hardware, create a datastore, add it to Proxmox VE as storage, and schedule backup, prune, garbage collection and verify jobs.

This guide covers Proxmox Backup Server 4.2 (released April 29, 2026, based on Debian 13 Trixie with kernel 7.0), the version I run for my own homelab cluster. Every command below is from the official PBS documentation.

Quick steps

  1. Install PBS from the ISO on a separate machine or VM (web UI on port 8007).
  2. Create a datastore on a dedicated disk or ZFS pool.
  3. Create a backup user and give it the DatastoreBackup role.
  4. In Proxmox VE, add the datastore under Datacenter > Storage > Add > Proxmox Backup Server.
  5. Create a backup job in Proxmox VE (Datacenter > Backup).
  6. On PBS, schedule prune, garbage collection and verify jobs.
  7. Add a sync job or an S3 datastore for an offsite copy.

Why use Proxmox Backup Server instead of plain vzdump

Proxmox VE can already write vzdump archives to NFS or a local disk, but each run is a full copy. PBS changes that:

vzdump to NFS/local Proxmox Backup Server
Backup type Full archive every time Incremental, only changed chunks sent
Deduplication No Yes, across all backups in a datastore
Integrity checks No Scheduled verify jobs (checksums)
Encryption No Client-side AES-256-GCM
Offsite copy Manual Sync jobs (pull or push) and S3 backend
File-level restore No Yes, from the Proxmox VE UI

Proxmox Backup Server requirements

From the installation docs:

  • Recommended: a modern 64-bit Intel or AMD CPU with at least 4 cores; at least 4 GiB RAM plus 1 GiB per TiB of backup storage; 32 GiB or more for the OS on redundant storage; fast backup storage (enterprise SSDs ideally, or HDDs with a ZFS special device mirror for metadata); multi-gigabit network.
  • Minimum (evaluation only): 2 cores, 2 GB RAM, 8 GB disk, one NIC.

Do not put ZFS on top of hardware RAID.

How to install Proxmox Backup Server

Download the PBS ISO from the Proxmox downloads page, write it to a USB stick, boot it and follow the installer (target disk, country and time zone, root password, email, network). When it finishes, open:

https://<pbs-ip>:8007

Log in as root with the Linux PAM realm.

Option 2: on Debian 13 Trixie

Add the no-subscription repository in /etc/apt/sources.list.d/proxmox.sources (the Proxmox archive key must be at /usr/share/keyrings/proxmox-archive-keyring.gpg, see the docs):

Types: deb
URIs: http://download.proxmox.com/debian/pbs
Suites: trixie
Components: pbs-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Then install it:

apt update
apt install proxmox-backup-server

Use apt install proxmox-backup instead if you want the same package set as the ISO, including the Proxmox kernel with ZFS.

Can I install PBS on a Proxmox VE host?

You can install the same package on a Proxmox VE node, but the documentation does not recommend it: if that host dies, the VMs and their backups go with it. In my lab PBS runs on separate hardware, and that is the setup I recommend. A PBS VM on another node is an acceptable start if it keeps an offsite copy.

Create a datastore

A datastore is a directory (ideally its own disk or ZFS dataset) where the deduplicated chunks live. In the web UI use Datastore > Add Datastore, or from the shell:

proxmox-backup-manager datastore create store1 /backup/disk1/store1
proxmox-backup-manager datastore list

If you use Administration > Storage / Disks to create a ZFS pool or directory, tick Add as Datastore and PBS does both in one step.

Create a backup user for Proxmox VE

Do not connect Proxmox VE as root@pam. Create a dedicated user and give it backup rights on the datastore only:

proxmox-backup-manager user create backup@pbs --password 'use-a-long-password'
proxmox-backup-manager acl update /datastore/store1 DatastoreBackup --auth-id backup@pbs

DatastoreBackup can create and restore its own backups but cannot prune or delete them, which helps if a Proxmox VE host is ever compromised. Get the server's certificate fingerprint for the next step:

proxmox-backup-manager cert info

Add Proxmox Backup Server to Proxmox VE

In the Proxmox VE web UI go to Datacenter > Storage > Add > Proxmox Backup Server and enter the server, username (backup@pbs), password, datastore and fingerprint. Or on any Proxmox VE node:

pvesm add pbs pbs-store1 --server 192.168.1.50 --datastore store1 --username backup@pbs --fingerprint <fingerprint> --password

You can also set an encryption key here. Keep a copy of the key somewhere other than the host it protects (a password manager and an offline copy): without the key, encrypted backups cannot be restored.

Then create the schedule under Datacenter > Backup > Add: pick the PBS storage, the guests, the time and the mode (snapshot for running VMs).

Prune, garbage collection and verify jobs

These three jobs keep a datastore healthy. Set them per datastore in the PBS UI, or with the CLI:

Prune removes old snapshots according to a retention policy (keep-last, keep-hourly, keep-daily, keep-weekly, keep-monthly, keep-yearly):

proxmox-backup-manager prune-job create daily-prune --store store1 --schedule daily --keep-last 3 --keep-daily 7 --keep-weekly 4 --keep-monthly 6

Garbage collection frees the disk space. Pruning only removes the index; chunks are deleted by GC once nothing references them. Chunks are only removed when they are older than the oldest running backup or 24 hours and 5 minutes before GC started, so space comes back a day after pruning, not instantly.

proxmox-backup-manager datastore update store1 --gc-schedule 'daily'
proxmox-backup-manager garbage-collection start store1
proxmox-backup-manager garbage-collection status store1

Verify re-reads chunks and checks their checksums, so you find bit rot before you need a restore:

proxmox-backup-manager verify-job create weekly-verify --store store1 --schedule 'sat 02:00' --outdated-after 30

Offsite copies: sync jobs and remote PBS

For a 3-2-1 setup, add a second PBS (another site, a friend's house or a hosted PBS) as a remote and sync to it. Pull from the offsite server:

proxmox-backup-manager remote create main-site --host 203.0.113.10 --auth-id sync@pbs --password 'xxxx' --fingerprint <fingerprint>
proxmox-backup-manager sync-job create pull-main --remote main-site --remote-store store1 --store offsite1 --schedule daily

Sync jobs can also push (--sync-direction push), and since PBS 4.2 a push sync can encrypt snapshots before sending them, which suits a less trusted offsite target.

Proxmox Backup Server with S3 object storage

PBS 4.0 added S3-compatible object storage as a datastore backend in technology preview; PBS 4.2 made it officially supported. This is how you back up Proxmox to AWS S3, Backblaze B2, Wasabi, Cloudflare R2 or a self-hosted MinIO, as long as the endpoint uses HTTPS and the key can get, put, list and delete objects. Create the bucket first, then:

proxmox-backup-manager s3 endpoint create my-s3-ep \
  --access-key 'my-access-key' \
  --secret-key 'my-secret-key' \
  --endpoint '{{bucket}}.s3.{{region}}.amazonaws.com' \
  --region eu-central-1

proxmox-backup-manager datastore create my-s3-store /mnt/datastore/my-s3-store-cache \
  --backend type=s3,client=my-s3-ep,bucket=pbs-s3-bucket

The local path is a cache, not a normal datastore; the docs suggest 64 to 128 GiB on its own disk or dataset. Watch your provider's request and egress costs: PBS 4.2 can track request and traffic statistics and notify you when thresholds are passed.

If you only want a copy in Google Drive, see Proxmox backups to Google Drive with rclone, and for the node's own configuration see backing up the Proxmox host config.

Restore a VM or single files

In Proxmox VE, select the PBS storage, open Backups, choose a snapshot and click Restore for a whole VM or container, or File Restore to browse and download individual files from inside the backup. Test a restore after you set up any new job; a backup you have never restored is a hope, not a plan.

Troubleshooting

  • Disk space does not go down after pruning: expected; garbage collection only frees chunks older than about 24 hours. Run GC again the next day.
  • "fingerprint mismatch" or certificate errors in Proxmox VE: the PBS certificate changed. Run proxmox-backup-manager cert info and update the fingerprint in the storage settings.
  • Permission check failed: the user needs DatastoreBackup (or higher) on /datastore/<name>.
  • Upgrading PBS 3 to 4: follow the official upgrade guide; it uses the same Bookworm to Trixie repository switch as the Proxmox VE 8 to 9 upgrade.

Want the full Proxmox skill set? My Proxmox Virtualization Environment: Complete Training course covers backups, storage, networking and clustering, and Proxmox HA Cluster with Ceph goes deeper into resilient clusters.

Frequently asked questions

What is Proxmox Backup Server?+

Proxmox Backup Server (PBS) is a free, open source enterprise backup server from Proxmox. It stores VM, container and host backups from Proxmox VE as deduplicated, compressed chunks, so after the first full backup each run only sends changed data. It adds client-side encryption, verification, pruning, sync to remote servers and S3 object storage, and file-level restore.

Is Proxmox Backup Server free?+

Yes. PBS is open source under the GNU AGPLv3 and every feature works without a subscription. A paid subscription adds the enterprise repository and support; without one you use the free pbs-no-subscription repository.

Should I install Proxmox Backup Server on the same host as Proxmox VE?+

It is possible, but the PBS documentation says it is not recommended. If the host fails you lose the VMs and their backups together. Run PBS on separate hardware, or at least keep a synced copy on another machine or in S3 storage.

Can Proxmox Backup Server back up to S3 or Backblaze B2?+

Yes. PBS 4.0 added S3-compatible object storage as a datastore backend as a technology preview, and PBS 4.2 (April 2026) made it officially supported. You create an S3 endpoint, then a datastore with an S3 backend and a local cache path. Any S3-compatible provider that supports HTTPS and the required get, put, list and delete permissions can be used.

How much RAM does Proxmox Backup Server need?+

The documentation recommends at least 4 GiB of RAM for the OS, filesystem cache and daemons, plus at least 1 GiB per TiB of backup storage, and at least four CPU cores. The 2 GB minimum is only for evaluation.

What is the difference between vzdump backups and Proxmox Backup Server?+

vzdump writes a full archive of each guest every time to a storage such as NFS or a local disk. Proxmox Backup Server stores backups as deduplicated chunks, sends only changed blocks for running VMs, verifies data integrity and supports encrypted offsite sync, so backups are faster and need far less space.

Sources

  1. Proxmox Backup Server Roadmap and release notes, Proxmox Server Solutions
  2. Installation, Proxmox Backup Server documentation
  3. Backup Storage (datastores and S3), Proxmox Backup Server documentation
  4. Maintenance Tasks (prune, garbage collection, verification), Proxmox Backup Server documentation
  5. Command Syntax, Proxmox Backup Server documentation
  6. Storage: Proxmox Backup Server, Proxmox Server Solutions

Related videos

Video library
  • Cloud and Self-Hosting

    Proxmox Backup Server Remote Sync: Offsite Backup & Disaster Recovery

    · 19:58 · 6.8K views

    Watch on YouTube
  • Cloud and Self-Hosting

    Proxmox Backup Server Remote Sync in 60 Seconds

    · 1:59 · 9.4K views

    Watch on YouTube
  • Cloud and Self-Hosting

    Proxmox Backup Automation: 7 Tips for PBS Retention & Schedules

    · 15:58 · 705 views

    Watch on YouTube