How to Configure Proxmox VE Backup - Complete Beginner’s Guide
Question: How do I set up automatic backups in Proxmox VE?
Answer: Follow these simple steps
Method 1: Using Web UI (Recommended for Beginners)
Step 1: Access Backup Configuration
- Log in to Proxmox web interface
- Navigate to Datacenter → Backup
Step 2: Create New Backup Job
- Click Add button
- Fill in the following:
- ID: backup-daily
- Target Storage: Select local or NFS
- Schedule: Choose schedule (e.g., “Daily”)
- Selection Mode: Select VMs/Containers
Step 3: Choose What to Backup
- Select specific VMs or use “All”
- Example: Check VMs 100, 101, 102
Step 4: Configure Backup Options
- Mode: snapshot (no downtime)
- Compression: lzo (fast) or zstd (better)
- Email: Enable notification
Step 5: Save and Enable
- Click Create
- Enable job with toggle switch
Method 2: Using CLI
# Create daily backup job
vzdump 100 --mode snapshot --storage local --compress lzo
# For multiple VMs
vzdump 100 101 102 --mode snapshot --storage localMethod 3: Using Cron (Advanced)
# Edit crontab
crontab -e
# Add backup job
# Daily at 2 AM
0 2 * * * /usr/bin/vzdump --mode snapshot --vmid all --storage local
# Weekly Sunday at 2 AM
0 2 * * 0 /usr/bin/vzdump --mode suspend --vmid all --storage localUnderstanding Backup Modes
| Mode | Downtime | Best For |
|---|---|---|
| snapshot | None | Running VMs |
| suspend | Brief(~30s) | Critical VMs |
| stopped | Full | Downtime OK |
How to Check if Backup is Working
# Check backup log
vzdump --vmid 100 --log
# Verify backup exists
ls -la /var/lib/vz/dump/
# Check storage
pvesm status localTroubleshooting Common Issues
Backup Failed
# Check available space
pvesm status
# Check VM exists
qm listStorage Full
# Clean old backups
rm -rf /var/lib/vz/dump/*
# Or configure retention
# Web UI → Backup → Job → RetentionPro Tips
- Schedule backups for off-peak hours (2 AM typical)
- Use compression to save space
- Test restore monthly
- Enable email notifications
Keywords
backup how-to beginner vzdump configuration