How to Restore from Backup - Complete Beginner’s Guide
Question: How do I restore a VM or container from backup?
Answer: Follow these simple steps
How to Restore Using Web UI
Step-by-Step:
1. Navigate to Backup Storage
- Go to Datacenter → Storage → Select your backup storage (e.g., local)
- Click Content
2. Find Your Backup
- Look for your backup file (format:
vzdump-qemu-100-DATE.tar.gz) - Click on the file
3. Click Restore
- Click Restore button
- Enter new VM ID or use original
- Click Restore
4. Wait for Restore
- Progress shows in task log
- VM appears in list when complete
How to Restore Using CLI
Restore a VM (QEMU)
# First, list available backups
vzdump --list
# Restore VM to new ID
qmrestore /var/lib/vz/dump/vzdump-qemu-100-2024_01_01.tar.gz 200
# Or restore to original VM ID
qmrestore /var/lib/vz/dump/vzdump-qemu-100-2024_01_01.tar.gz 100Restore a Container (LXC)
# List container backups
vzdump --list --vmid lxc
# Restore container
pct restore 200 /var/lib/vz/dump/vzdump-lxc-100-2024.tar.gzHow to Restore to Different Storage
# Backup stored on one storage, restore to another
qmrestore /mnt/backup/vzdump-qemu-100-2024.tar.gz 100 \
--storage local-lvmHow to Restore Using PBS
# List PBS backups
proxmox-backup-client list snapshots pbs@pam:
# Restore from PBS
proxmox-backup-client restore pbs@pam:datastore/vzdump-qemu-100-2024 vm-100How to Verify Backup is Valid
# Check backup integrity
vzdump --vmid 100 --verify
# Or check the file
tar -tzf /var/lib/vz/dump/vzdump-qemu-100-2024.tar.gz | headTroubleshooting Restore Issues
Error: “VM already exists”
# Use different VM ID
qmrestore backup.tar.gz 201Error: “Storage not available”
# Check storage is available
pvesm statusError: “Insufficient permissions”
# Check user permissions
pveum acl list /vms/100How to Restore Entire Cluster
Step 1: Reinstall Proxmox
Follow standard install procedure
Step 2: Restore Configuration
# Restore /etc/pve/
tar -xzf /backup/pve-config.tar.gz -C /Step 3: Restore VMs
# Restore each VM
qmrestore /backup/vm-100.tar.gz 100
qmrestore /backup/vm-101.tar.gz 101Pro Tips
- Always test restore on a test VM first
- Keep backup log for reference
- Document your backup IDs
Keywords
restore how-to beginner vzdump recovery