Comprehensive Virtualization Data Protection: Deploying Proxmox Backup Server (PBS) on Hetzner VPS for Off-Site Backup
A detailed guide to deploying Proxmox Backup Server (PBS) on Hetzner VPS for secure, effective off-site backup of virtualization data.
Image credit: geralt · Pixabay Content License
Introduction to Comprehensive Virtualization Data Protection
In an era where businesses and individuals increasingly rely on virtualization to optimize resources, protecting data has become critical. Proxmox Backup Server (PBS) offers a comprehensive, secure, and efficient backup solution. This guide details how to deploy Proxmox Backup Server (PBS) on a Hetzner VPS to implement off-site backup, ensuring virtualization data remains protected even in the event of a failure at the primary data center.
Prerequisites and Preparation
To deploy PBS on a Hetzner VPS, ensure the following requirements are met:
- Choose a Hetzner VPS with at least 4GB RAM and sufficient disk space to store backups.
- Ensure the VPS has a stable network connection and a public IP address.
- Have Proxmox VE installed (or use PBS on another compatible platform if needed).
- Prepare root or sudo user access for installation tasks.
Deploying Proxmox Backup Server (PBS) on Hetzner VPS
Proxmox Backup Server is an open-source backup solution that integrates well with Proxmox VE. Follow these steps to deploy it:
1. Install Proxmox Backup Server
On the Hetzner VPS, update the system first:
sudo apt update && sudo apt upgrade -y
Add the PBS repository:
echo "deb http://download.proxmox.com/debian/pbs $(lsb_release -cs) pbs-no-subscription" | sudo tee /etc/apt/sources.list.d/pbs.list
Add the GPG key:
wget https://download.proxmox.com/keys/proxmox-ve-release-8.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-8.gpg
Install PBS:
sudo apt update
sudo apt install proxmox-backup-server -y
2. Configure Network and Access Web Interface
After installation, PBS runs on port 8007. Access the management interface via a web browser:
https://<IP_VPS_Hetzner>:8007
Log in with the root account and the password set during installation.
3. Create Repository and Set Up Backups
In the PBS interface, create a repository to store backups. Then, on your Proxmox VE servers, add the Hetzner VPS as a backup target:
proxmox-backup-client add-repository --name hetzner-backup --address 192.168.1.100:8007 --auth-user admin --auth-password yourpassword
Perform backups on a schedule or manually via the interface or CLI.
Verify and Validate Backups
After deployment, verify that backups are successful:
proxmox-backup-client list-backups
To confirm data is backed up, run:
proxmox-backup-client list-repository
If backups appear in the list, deployment was successful.
Effective Off-Site Backup Solution
Deploying PBS on a Hetzner VPS provides a secure off-site backup solution, as backups are stored in a location separate from the primary data center. This increases recovery capability in the event of disasters such as fire, power failure, or cyberattacks.
To optimize performance, consider:
- Enabling data compression and encryption to reduce bandwidth usage.
- Using incremental backups to minimize storage and time requirements.
- Setting up email alerts for failed backup attempts.
Troubleshooting Common Issues
- Cannot connect to PBS: Check firewall rules to ensure port
8007is open and the VPS has a public IP. - Repository not visible: Verify the repository name and login credentials on the client.
- Backup failure: Check logs in the PBS interface or use
proxmox-backup-client list-backups.
References
Related infrastructure & engineering guides: High-RAM Cloud VPS for Self-Hosted LLMs & API Gateways · Guide to Deploying Plausible Analytics on a High Availability HA Cluster for Enterprises
High-RAM Cloud VPS Plans Optimized for AI, Databases & Cache
Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.
VPS-4E
10% VAT included
- CPU: 4 vCPU
- RAM: 8 GB
- SSD: 50 GB NVMe
