Proxmox Backup: How to Back Up and Restore Your VMs and Containers
Your Proxmox VE cluster hosts the workloads that matter—homelab labs, dev environments, or small-team services. When something goes wrong, a solid Proxmox backup strategy is what stands between you and data loss. This guide walks you through Proxmox backup options, how to configure and schedule backups, and how to restore VMs and containers so you can recover quickly.
You’ll learn the difference between snapshots and full backups (including vzdump and Proxmox Backup Server), set up backup storage, create and schedule backups with built-in tools, and perform a restore. By the end, you’ll have a repeatable Proxmox VE backup process that fits a homelab or a small production cluster. For visibility into cluster health and backup job status, see our Proxmox monitoring guide.
Understanding Proxmox Backup Options
Snapshots vs Full Backups — When to Use Each
Snapshots capture the state of a VM or LXC container at a point in time. They’re fast and live on the same storage as the guest. Use them for short-term rollbacks (e.g. before an update or config change). They are not a substitute for off-host backup: if the node or storage fails, snapshots can be lost. For disaster recovery and long-term retention, you need full backups.
Full backups (vzdump) copy the whole guest to a separate backup target—local directory, NFS share, or Proxmox Backup Server (PBS). They’re the foundation of disaster recovery. Use them on a schedule (e.g. daily or weekly) and keep them on different storage than the live VMs. You can choose backup mode (snapshot or stop/suspend) and compression (e.g. zstd, gzip, or none) to balance speed and space.
Built-in vzdump and Proxmox Backup Server (PBS)
Proxmox VE includes vzdump: a built-in backup tool that writes VM and container archives to configured storage. No extra license required. You choose the backup format (e.g. compressed tar with zstd or gzip), retention, and schedule. vzdump backup runs from the Proxmox host and supports QEMU VMs and LXC containers. Proxmox VE is open source; you can download Proxmox VE from the official site.
Proxmox Backup Server (PBS) is a separate, optional product that adds deduplication, retention policies, and efficient incremental backups. For many homelabs, vzdump to NFS or local storage is enough; PBS becomes attractive when you have many VMs or need long-term, space-efficient retention and centralized backup management. PBS is open source; download Proxmox Backup Server from the official Proxmox site.
Configuring Backup Storage in Proxmox
Before you can run backups, Proxmox needs a backup storage target. Supported types include Directory (local or NFS mount), Proxmox Backup Server, and compatible storage that accepts backup content.
- In the Proxmox web UI, go to Datacenter → Storage.
- Click Add and choose the type (e.g. Directory for local or NFS mount, or Proxmox Backup Server if you use PBS).
- Give it a name (e.g.
backup-nfs), set the path or PBS server details and datastore, and enable Use for backups (and optionally Use for VM/CT templates if you store templates there). - For NFS: ensure the export is mounted and the Proxmox user can write to it; specify the mount path.
- Click Add and confirm the storage appears in the list with type “Backup” or “Backup / PBS”.
Your backups will be stored under this storage. Ensure the path has enough space and, for disaster recovery, consider a destination off the main node (e.g. NFS on a NAS or a remote PBS).
Creating and Scheduling Backups
Manual Backup of a Single VM or Container
- Select the VM (QEMU) or CT (LXC) in the left tree.
- Open the Backup tab.
- Click Backup now.
- Choose Backup storage, Mode (snapshot or stop/suspend), and optionally Compression (zstd recommended) and Format.
- Click Backup. The job appears in the task log; when it finishes, the backup is listed under the chosen storage.
Use this for one-off backups before major changes or for testing that backups complete successfully. For VM backup and container backup, the same workflow applies; LXC and QEMU backups are stored in the same backup storage.
Scheduling Backups (Daily or Weekly)
- Go to Datacenter → Backup.
- Click Add to create a new backup job.
- Set Schedule (e.g. daily at 2:00, or weekly on Sunday) using cron-style or the picker.
- Select Storage and which VMs/containers to include (or include all).
- Set Retention (e.g. keep last 7 daily backups) to automate pruning.
- Optionally set Start time and End time to define a backup window and avoid peak load.
- Save. Proxmox will run the job on the defined schedule.
Scheduled backups give you consistent recovery points without manual steps. Pair them with Proxmox monitoring so you know when backup jobs fail or storage fills up.
Restoring From a Backup
- In the left tree, select the backup storage that holds the backup.
- Open the Backups tab and find the backup (VMID and date).
- Select the backup and click Restore.
- Choose Target node (same or different), Storage for the restored disk, and optionally a new VMID if you don’t want to overwrite an existing guest.
- Click Restore. When the task completes, the VM or container appears in the node and can be started.
After restore, start the guest and verify services and data. Restoring to a different node is supported and useful for testing or migrating to new hardware. For restore Proxmox VM or container, the same steps apply; you can restore to the same or a different cluster node.
FAQ
How often should I backup Proxmox VMs?
It depends on how much change you can afford to lose. Many homelabs use daily backups with a 7–14 day backup retention. Critical systems may use more frequent backups or add Proxmox Backup Server (PBS) for incremental and longer retention.
What is the difference between snapshot and backup in Proxmox?
A snapshot is a point-in-time image on the same storage; it’s quick and good for short-term rollback. A backup (vzdump) is a full copy written to separate backup storage and is meant for disaster recovery and off-host retention.
Can I restore a Proxmox backup to a different node?
Yes. When you restore, you can choose any node in the cluster and any storage on that node. The vzdump backup format is portable across nodes.
What is vzdump and how does it work?
vzdump is Proxmox VE’s built-in backup tool. It creates archives of QEMU VMs and LXC containers (disk images and config) and writes them to a configured backup storage (Directory, NFS, or PBS). You can run it manually or on a schedule.
Can I use NFS for Proxmox backup storage?
Yes. Add an NFS mount as a Directory storage in Datacenter → Storage, enable “Use for backups,” and use it as your backup target. Ensure the NFS export has enough space and that the Proxmox host has read-write access.
What is Proxmox Backup Server (PBS)?
Proxmox Backup Server is a separate, open-source product that provides deduplication, incremental backups, and retention policies. You add it as a backup storage in Proxmox VE and send backups to a PBS datastore for efficient, long-term storage. You can download Proxmox Backup Server from the official Proxmox website.
How do I verify a Proxmox backup?
After a backup completes, check the task log for success. Periodically perform a test restore: restore a VM or container to a new VMID, start it, and verify that services and data are intact. This validates both backup and restore paths.
What backup compression options does Proxmox support?
Proxmox vzdump supports compression with zstd (recommended), gzip, or none. Zstd offers a good balance of speed and compression ratio; gzip is widely compatible. Choose in the backup dialog or schedule.
How do I automate Proxmox backup?
Use Datacenter → Backup → Add to create a scheduled backup job. Set the cron schedule, target storage, which VMs/containers to include, and retention. Proxmox runs the job automatically; pair with Proxmox monitoring to alert on failures.
What are best practices for Proxmox backup?
Use a dedicated backup storage off the main node (e.g. NFS or PBS); schedule regular backups with a retention policy; use snapshot mode when possible to avoid downtime; test restores periodically; and monitor backup job success and storage space.
Conclusion
Configuring Proxmox backup storage, creating and scheduling backups, and practicing a restore puts you in control of your homelab or small-cluster resilience. Set up a backup job today, verify a restore once, and keep an eye on backup success with monitoring—so when you need it, your backups are there.