๐ฐ Introduction
In a modern enterprise virtualization environment, backup and disaster recovery (DR) are the final line of defense to ensure system resilience and data protection.
Beyond virtualization and high availability, Proxmox VE also provides a powerful native backup solution โ
the Proxmox Backup Server (PBS).
This article explains:
1๏ธโฃ The architecture and principles of PBS
2๏ธโฃ How to integrate it with Proxmox VE
3๏ธโฃ Best practices for remote replication and off-site disaster recovery
๐งฉ 1. What Is Proxmox Backup Server?
Proxmox Backup Server (PBS) is an open-source backup platform designed specifically for Proxmox virtualized environments.
Unlike traditional backup tools, PBS offers:
- Native backup integration for VMs and LXC containers
- Zstandard (ZSTD) compression and chunk-based deduplication
- Incremental backup and version retention
- AES-256-GCM encryption
- Built-in remote sync and replication
Itโs effectively a dedicated backup and restore engine built to work seamlessly within the Proxmox ecosystem.
๐งฑ System Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Proxmox VE Cluster โ
โ (VM / CT / Config Data) โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ
Encrypted Backup Stream
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Proxmox Backup Server (PBS) โ
โ โโโ Datastore (ZFS / EXT4) โ
โ โโโ Deduplication Engine โ
โ โโโ Index / Chunk Storage โ
โ โโโ Verification & Pruning โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
Remote Sync (PBS โ Remote PBS)
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Offsite Backup Server (DR Site)โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ 2. Installation and Setup
1๏ธโฃ System Requirements
| Component | Recommended Spec |
|---|---|
| CPU | x86_64 with AES-NI support |
| Memory | 16 GB or more |
| Storage | SSD or ZFS RAIDZ2 pool |
| Network | 1 Gbps minimum; 10 Gbps recommended for replication |
2๏ธโฃ Installation
Download the latest ISO from:
๐ https://www.proxmox.com/en/downloads
After installation, access the web interface:
https://<PBS-IP>:8007/
Default user: root@pam
3๏ธโฃ Create a Datastore
In the Web UI:
- Navigate to Datastore โ Add
- Define the storage path (e.g.,
/backup1) - Set retention and verification schedules
CLI example:
pbs-datastore create backup1 /backup1
๐ง 3. Integrating PBS with Proxmox VE
Step 1 โ Add PBS Storage to Proxmox VE
In Datacenter โ Storage โ Add โ Proxmox Backup Server,
enter the PBS IP, datastore name, and credentials.
CLI method:
pvesh create /storage --storage pbs1 \
--type pbs \
--server 192.168.10.50 \
--datastore backup1 \
--username root@pam
Step 2 โ Schedule Backups
In Datacenter โ Backup โ Add, define:
- Mode: Snapshot
- Frequency: Daily or Weekly
- Target Storage:
pbs1 - Compression:
zstd - Content: VM / CT / Config
CLI example:
vzdump 101 --mode snapshot --compress zstd --storage pbs1
Step 3 โ Verify Backup Results
Check the logs on the PBS host:
journalctl -u proxmox-backup
Or view Tasks โ Backup Logs in the Web UI.
Successful jobs show TASK OK.
๐งฉ 4. How PBS Optimizes Backup Performance
Chunk-Based Deduplication
PBS breaks data into small chunks and only stores unique ones.
If identical data exists in previous backups, it references those chunks instead of re-saving them.
This reduces storage usage by 60โ80%, even across multiple VMs.
Incremental Backup
Incremental jobs only transfer changed chunks,
making daily backups extremely fast โ often completing in just minutes.
๐๏ธ 5. Remote Replication & Disaster Recovery
Step 1 โ Native PBS Remote Sync
PBS includes a built-in sync-job function that replicates data to a remote site.
Example:
pbs-admin sync-job create dr-sync \
--source "pbs@pam@192.168.10.50:backup1" \
--store backup1 \
--remote 192.168.20.50 \
--interval 1d
This syncs the datastore daily to an offsite PBS for disaster recovery.
Step 2 โ Network Security
- All PBS sync traffic is encrypted via TLS
- Use VPNs (WireGuard / IPsec) for secure remote transport
- Bandwidth throttling and compression can optimize slow links
Step 3 โ Architecture Example
Primary Datacenter DR Site
โโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ
Proxmox VE Cluster Proxmox Backup Server (DR)
โ โ
โผ โผ
Proxmox Backup Server โโโโถ PBS Sync โโโโถ Remote PBS
(Primary Storage) (Incremental Replication)
๐งฐ 6. Verification and Recovery
1๏ธโฃ Restore a VM
From the Proxmox VE interface:
- Select the VM โ Restore
- Choose the backup version stored in PBS
- Define the target node and disk format
2๏ธโฃ Offsite Recovery
If the primary site fails:
- Deploy a new Proxmox VE host at the DR site
- Connect it to the remote PBS
- Restore selected VMs from replicated backups
๐ก A 1 TB VM can typically be restored in under 30 minutes, depending on bandwidth and compression ratio.
๐ง 7. Best Practices
| Category | Recommendation |
|---|---|
| Storage | Use ZFS with compression and checksum enabled. |
| Backup Frequency | Daily incremental + weekly full backup. |
| Verification | Schedule periodic โVerifyโ jobs to validate integrity. |
| Remote Sync | Run PBS sync daily to DR site. |
| Security | Enable encryption keys and store them offline. |
โ Conclusion
Proxmox Backup Server (PBS) is more than just a backup tool โ
itโs a complete data protection and disaster recovery solution for Proxmox environments.
With deduplication, incremental backup, and remote synchronization,
PBS delivers enterprise-grade reliability and efficiency using open-source technology.
๐ฌ In the next article, weโll explore
โProxmox + Ceph Integration and Distributed Storage Deploymentโ,
to build a highly scalable, fault-tolerant virtualization infrastructure.