Skip to content

Nuface Blog

้šจๆ„้šจๆ‰‹่จ˜ Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login
Menu

Proxmox Hybrid Cloud Backup and Disaster Recovery (Proxmox + PBS + Cloud DR)

Posted on 2025-10-312025-10-31 by Rico

๐Ÿ”ฐ Introduction

In enterprise IT infrastructure, availability and data durability are two of the most critical pillars.
Even with a high-availability (HA) cluster, without a proper offsite backup and disaster recovery (DR) plan,
a single data center outage, hardware failure, or ransomware attack can still cause a complete operational shutdown.

The introduction of Proxmox Backup Server (PBS) has transformed backup operations
from traditional โ€œdisk image copiesโ€ into an intelligent framework based on incremental backups, deduplication, encryption, and cloud synchronization.

This article explains how to design a hybrid cloud DR architecture using Proxmox VE + PBS + Cloud Storage, including:
1๏ธโƒฃ Overall hybrid backup architecture
2๏ธโƒฃ Cross-site replication and cloud synchronization setup
3๏ธโƒฃ Automated recovery process and orchestration examples


๐Ÿงฉ 1. Proxmox Hybrid Cloud Backup Architecture

Architecture Overview

        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚     Local Proxmox Cluster     โ”‚
        โ”‚     (Taiwan Data Center)      โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚
                Incremental Backup (PBS)
                      โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚   Remote Proxmox Cluster      โ”‚
        โ”‚ (Malaysia / Vietnam Site)     โ”‚
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                      โ”‚
             Cloud Backup / DR Storage
         (AWS S3 / Azure Blob / Wasabi)

This architecture includes:

  • Local backups (Primary PBS)
  • Cross-region replication (Remote PBS Sync)
  • Cloud-based long-term backups (S3 / Blob)
  • Automated recovery (Failover & Restore)

๐Ÿง  2. Key Features of Proxmox Backup Server (PBS)

FeatureDescription
Incremental BackupsTransfers only changed blocks, minimizing bandwidth usage.
DeduplicationIdentical data is stored only once, saving storage space.
Compression & EncryptionUses ZSTD compression and AES-256 encryption for data protection.
Remote Sync JobsAutomatically replicates backups to remote PBS nodes.
S3-Compatible StorageSupports AWS, Wasabi, Backblaze, or self-hosted MinIO.
Snapshot-Based RecoveryInstantly restores entire VMs or individual files.

โš™๏ธ 3. Cross-Site Backup and Replication Setup

1๏ธโƒฃ Local Backup Configuration (Primary PBS)

Create a local datastore:

mkdir /mnt/pbsdata
proxmox-backup-manager datastore create local-pbs /mnt/pbsdata

Schedule daily incremental backups:

proxmox-backup-manager backup-job create \
--store local-pbs --schedule "daily" \
--notes "Daily VM backups"

2๏ธโƒฃ Remote PBS Synchronization

Create a datastore on the remote PBS node:

/mnt/pbsremote

Set up the sync job:

proxmox-backup-manager sync-job create \
--source "local-pbs@10.0.0.11:8007" \
--remote "remote-pbs" \
--store "remote-pbs"

This ensures the remote PBS automatically replicates incremental backup data
from the primary PBS, enabling offsite disaster recovery (DR).


3๏ธโƒฃ Cloud Storage (S3 / Blob) Integration

PBS 9.x natively supports S3-compatible storage:

proxmox-backup-manager datastore create cloud-backup s3://backup-bucket
proxmox-backup-manager remote create cloud --fingerprint auto

Set credentials:

export AWS_ACCESS_KEY_ID=xxxxx
export AWS_SECRET_ACCESS_KEY=yyyyy

Supported cloud destinations:

  • AWS S3
  • Azure Blob Storage
  • Wasabi / Backblaze
  • MinIO (on-prem S3-compatible platform)

๐Ÿ”„ 4. Disaster Recovery Workflow

1๏ธโƒฃ Detect and Trigger DR Mode

When a primary site or node failure is detected,
the remote PBS can trigger automated alerts and recovery workflows
through Prometheus, Grafana Alertmanager, or custom scripts.


2๏ธโƒฃ Import Remote Backups into a DR Node

Mount the remote PBS datastore on the DR Proxmox node:

pvesh create /storage \
--storage dr-pbs --type pbs \
--server 10.0.1.50 --datastore remote-pbs

3๏ธโƒฃ Restore Virtual Machines

qmrestore pbs:remote-pbs/vm-300 300 --unique 1

Or via Web UI:

Datacenter โ†’ Storage โ†’ remote-pbs โ†’ Backup โ†’ Restore


4๏ธโƒฃ Automated Verification and Testing

Schedule regular verification of backup integrity:

proxmox-backup-manager verify-job create \
--store remote-pbs --schedule "weekly"

This ensures backup data is complete and restorable at any time.


โ˜๏ธ 5. Proxmox + Cloud DR Best Practices

CategoryRecommendation
Backup FrequencyDaily incremental + weekly verification
Remote Sync FrequencyEvery 6โ€“24 hours
Encryption & CompressionAlways enable AES-256 + ZSTD
Recommended BandwidthMinimum 50 Mbps upstream
Disaster Recovery TestPerform full DR drill at least quarterly
Remote PBS Capacity~120% of total primary backup size

๐Ÿงญ 6. Real-World Example: Taiwan โ†” Malaysia Dual-Site DR

Environment Overview:

  • Taiwan Data Center: Main compute cluster (Proxmox + Ceph + PBS)
  • Malaysia Office: Remote DR site (Proxmox + PBS)
  • Cloud Storage: AWS S3 for cold data archiving

Workflow:

1๏ธโƒฃ Taiwan PBS runs daily VM backups
2๏ธโƒฃ Syncs incrementally to Malaysia PBS overnight
3๏ธโƒฃ Malaysia PBS uploads copies to AWS S3
4๏ธโƒฃ In case of outage, DR nodes in Malaysia restore VMs from local PBS

Architecture Diagram

[Proxmox Cluster - Taiwan]
   โ”‚
   โ–ผ
[Local PBS TW]  --sync-->  [Remote PBS MY]  --S3-->  [AWS Cloud Storage]
   โ”‚
   โ–ผ
[Local Restore / Instant Recovery]

๐Ÿงฎ 7. Automated DR Orchestration

You can automate full failover workflows using Proxmox API, Ansible, or Terraform.

Example (Ansible Task):

- name: Restore VM from remote PBS
  command: >
    qmrestore pbs:remote-pbs/vm-200 200 --unique 1

Combine with:

  • Grafana Alertmanager for automated triggers
  • Slack / Telegram Bot for notifications
  • Ansible Tower / AWX for multi-step orchestration

โœ… Conclusion

By integrating Proxmox VE + PBS + Cloud DR,
organizations can build a resilient and cost-effective disaster recovery system
that ensures business continuity, data integrity, and fast recovery across multiple sites.

This hybrid architecture allows enterprises to:

  • Instantly recover workloads after outages
  • Encrypt and protect data during transit and storage
  • Combine local performance with cloud-based durability

๐Ÿ’ฌ In the next article, weโ€™ll explore
โ€œProxmox Automated Cloud DR and Orchestration Implementation,โ€
focusing on practical automation with API, Terraform, and Ansible
for fully autonomous multi-region recovery workflows.

Recent Posts

  • Postfix + Letโ€™s Encrypt + BIND9 + DANE Fully Automated TLSA Update Guide
  • Postfix + Letโ€™s Encrypt + BIND9 + DANE TLSA ๆŒ‡็ด‹่‡ชๅ‹•ๆ›ดๆ–ฐๅฎŒๆ•ดๆ•™ๅญธ
  • Deploying DANE in Postfix
  • ๅฆ‚ไฝ•ๅœจ Postfix ไธญ้ƒจ็ฝฒ DANE
  • DANE: DNSSEC-Based TLS Protection

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Linux
  • LLM
  • Mail
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • WordPress
© 2025 Nuface Blog | Powered by Superbs Personal Blog theme