Restoring LXC Backups in Proxmox
Restoring LXC backups in Proxmox VE is a straightforward process that allows you to create a new container from an existing backup. Here’s how to do it:
Steps to Restore an LXC Backup
- Access Backup Storage
Navigate to the Backup Storage in the Proxmox web interface. - Select Backup Snapshot
Find and select the backup snapshot you wish to restore. - Initiate Restore
Click on the “Restore” button. This action will open a restore window. - Modify Container Name
In the restore window, you can change the name of the container to a new one. This is essential if you want to avoid overwriting an existing container. - Confirm Restore
After making the necessary changes, confirm the restore process.
Important Considerations
- Backup Source: Ensure that the backup is accessible from the Proxmox Backup Server (PBS) or the local storage where it was saved.
- Disk Space: Verify that there is sufficient disk space on the destination storage for the restored container.
- VMID Management: If you restore to the original VMID, it will overwrite the existing container. Using a new VMID creates a parallel copy, which is often preferred for testing.
Summary of Restore Options
| Backup Source | Restore Method | Cross-Node Support | Granularity |
|---|---|---|---|
| vzdump file | PVE web UI → Storage → Backup content | Yes | Full VM only |
| PBS datastore | PVE web UI → Storage → PBS content, or PBS UI | Yes | Full VM; flexible |
By following these steps, you can effectively restore LXC backups in Proxmox, ensuring that your container data is recoverable and manageable.