Backing up and restoring LXC containers in Proxmox VE: when each approach fits
If your team runs system containers on Proxmox VE and needs backups you can restore without guessing at consistency, start by choosing the backup mode for each container and deciding where the backup target lives. Proxmox VE's built-in backup tool covers both steps: it creates consistent snapshots of running virtual machines and containers, and it writes the result to a storage target you select. The question is not whether to back up, but which mode fits each container's workload, how much downtime you can accept, and whether the target is local or networked.
The built-in backup tool handles containers alongside KVM guests, so one job schedule can cover a mixed estate. For containers, the decisions that matter are the mode (stop, suspend or snapshot), whether each mount point is included, and where the archive is written. Proxmox Backup Server fits as the target when you want incremental backups, deduplication and client-side AES-256-GCM encryption across many nodes. Per the topic facts, its integrated client handles LXC containers in Proxmox VE, so containers and VMs can share one datastore. Before you commit to a design, confirm with your own environment which storage types your nodes can reach and which backup features your Proxmox VE version exposes in the web interface, since behavior can differ between releases.
Treat the first restore as part of the design, not a later check. Run a test restore of one container to a different storage target, confirm the service starts and the data is complete, and record the time it took. Then compare that result with the recovery time your business owners have agreed to. For Proxmox Backup Server, check the release notes for your deployed version in the Proxmox Backup Server roadmap before you plan around a specific feature, because support levels for datastore types have changed between releases.
Backup modes and mount point choices for containers
This table compares the three backup modes for LXC containers and the choice to include or exclude mount points, by downtime, consistency and storage impact. Read each row against your own recovery point and maintenance window requirements, and confirm the exact behavior for your storage type and Proxmox VE version before you set the job.
| Choice | Downtime and consistency | Storage and backup impact | When it fits |
|---|---|---|---|
| Stop mode | Container is shut down for the backup, so the filesystem is quiescent and consistent. Services are unavailable until the container starts again. | Simplest path with the fewest moving parts. Expect the longest outage of the three modes for busy containers. | Low-change containers with a scheduled maintenance window and no strict availability target. |
| Suspend mode | Container is paused while state is captured, then resumes. Downtime is shorter than stop mode, but the interruption still affects running services. | Depends on how the container's storage and state are captured. Confirm the behavior against the Proxmox VE backup documentation for your version. | Containers that need a consistent image but cannot be fully shut down, and where a brief pause is acceptable. |
| Snapshot mode | Container keeps running. Consistency depends on the application: databases and write-heavy services may need their own dump or quiesce step. | Uses storage snapshot support where available. Confirm which storage backends support snapshot mode, since this choice drives whether the backup is crash-consistent or application-consistent. | Production containers with near-zero downtime requirements, provided the application tolerates crash-consistent copies or is quiesced first. |
| Mount points included | Mount point data is captured with the container, so a restore returns the full working set in one job. | Larger backups and longer runs. Each included volume adds to backup storage and to Proxmox Backup Server change detection work. | Data that belongs to the container and must return with it, such as application state held on a volume. |
| Mount points excluded | Container restores without the excluded data, so you must recreate or reattach that storage separately. | Smaller backup sets. Shared or bulk data already protected elsewhere can be kept out of the container job. | Large shared datasets backed up by a file or storage-level process, provided you can rebuild the mount configuration on restore. |
| Change detection with Proxmox Backup Server | Incremental runs send only changed data, so downtime depends on mode, not on change detection alone. | Deduplication and incremental backups reduce stored data for stable mount points. Frequently rewritten files reduce the benefit. | Containers with stable data and frequent backups, where the goal is shorter backup runs and lower stored volume. |
| Restore to different storage | Restore time depends on the target storage and the mount configuration, not only the mode used at backup time. | Confirm the target storage type supports the container's volumes before restoring, since mount points on unsupported storage will fail or need changes. | Recovery onto new hardware, a different storage pool or a second site, after you have tested the restore path. |
How Proxmox Backup Server change detection reduces repeat backup data
On a single site, Proxmox Backup Server (PBS) is the target for the built-in backup tool in Proxmox VE. Each run is incremental: after the first full copy, the client sends only chunks that the datastore does not already hold, and the server stores data once even when many containers share identical blocks. The integrated client handles LXC containers and QEMU virtual machines inside Proxmox VE, while the separate proxmox-backup-client command-line tool covers other Linux amd64 hosts. Both use the same datastore model and REST API.
- Incremental runs: After the first backup, only changed data crosses the network, so nightly runs of a mostly static container are short.
- Deduplication: Identical chunks across containers and snapshots are stored once in the datastore.
- Client-side encryption: AES-256-GCM encryption happens on the client, so the datastore holds ciphertext when encryption is enabled.
- Integrity checks: SHA-256 checksums let the server verify stored chunks.
- Compression: Zstandard compression reduces the stored size of each chunk.
Before relying on this, confirm with a test restore that the encryption key is stored outside the datastore and that your schedule leaves enough time for prune and garbage collection jobs.
For a second location, PBS remote sync copies backup data between servers. Sync jobs transfer only chunks the remote datastore lacks, so the amount of data sent after the first seed depends on how much each container changed, not on the total size of the container. Proxmox Backup Server 4.2 lets push sync jobs encrypt snapshots before sending them, which matters when the remote server is run by a third party or sits in a location with weaker physical controls.
- Seed first: The initial sync moves the full dataset, so plan that transfer over the link you actually have.
- Delta sync: Later runs send only new chunks, which keeps the off-site copy close to current.
- Push encryption: Push jobs can encrypt snapshots before they leave the source, as introduced in 4.2.
- Retention on each side: Prune settings on the source and the remote are independent, so set them separately.
- Verification: Run verify jobs on the remote datastore, since a sync copy is only useful if it restores.
Confirm the remote site's bandwidth, the key custody model for pushed snapshots, and how long a full resync would take if the remote datastore is lost.
Tape and S3-compatible object storage are longer-term or separate-failure-domain targets. Proxmox Backup Server supports tape backup, and the 4.2 web interface allows up to 256 tape drives per changer. Object store datastores moved from technology preview to full support in 4.2, so the support status now depends on whether you run an S3 datastore as a production target. Confirm the exact support boundaries for your version before designing around them.
- Tape: Suits offline copies and long retention, with media handling and rotation as the main operational work.
- S3 datastores: In 4.2, S3-compatible object store datastores are fully supported rather than preview, which affects whether you can treat them as a primary off-site tier.
- Chunk reuse: Change detection still applies, so only new chunks are written to the object store on later runs.
- Access and cost: Object storage fees and egress charges depend on your provider, so request them in writing.
- Restore testing: Restores from tape or object storage are slower and need their own test plan.
Ask the provider which S3 features your datastore depends on, and check the Proxmox Backup Server roadmap for the 4.2 notes before you sign off the design.
Setting up container backups to Proxmox Backup Server step by step
This sequence takes a Proxmox VE cluster from no backup target to tested, scheduled backups of its LXC containers on Proxmox Backup Server, with a restore check that proves the backups are usable. Each step ends with a result you can verify before moving on.
Confirm the Proxmox Backup Server host and its access
Before any datastore exists, confirm which Proxmox Backup Server instance will receive the backups, which version it runs, and which network path connects it to each Proxmox VE node. The platform team checks that the backup server runs a supported release, that its management interface is reachable from the Proxmox VE nodes, and that the backup server sits outside the failure domain it protects. Done means every node can reach the server on the required port and the team has written down the version and location in the change record. Confirm the current release notes with the vendor before you commit to a version, since release dates and features change over time.
Create the datastore on Proxmox Backup Server
On the Proxmox Backup Server, create a datastore on storage you have sized and placed for backups, then create a dedicated user or API token that Proxmox VE will use to write backups. Give that identity only the permissions needed to write and read backups in this datastore. Finish by confirming the datastore appears as healthy in the server's interface and that the access identity can log in. Ask your storage team to confirm the datastore's filesystem and capacity plan, because the server's deduplication and retention settings depend on that foundation.
Add the datastore as storage in Proxmox VE
In the Proxmox VE datacenter settings, add a Proxmox Backup Server storage entry that points to the datastore, using the credentials from the previous step and the matching server fingerprint. Verify the connection from the web interface and confirm the storage shows as available on every node that will run container backups. A green status on all nodes, with the backup content type enabled, means the storage is ready. If a node shows the storage as unavailable, check name resolution, firewall rules and the certificate fingerprint on that node first.
Choose the backup mode for each container group
Decide the backup mode per container group. The Proxmox VE documentation describes stop, suspend and snapshot modes for containers, and each trades consistency, downtime and dependence on the storage backend differently. Group containers by how much downtime they tolerate and by whether their storage supports snapshots. Record the chosen mode for each group in your runbook, along with the reason. Confirm the trade-offs against the current administration guide for your Proxmox VE release, because behavior can differ by storage type.
Include or exclude mount points deliberately
Review every mount point attached to each container and decide whether it belongs in the backup. System data and application state usually belong in the backup. Large caches, rebuildable data, or data already protected by another system may not. Mark excluded mount points explicitly in the container configuration so the exclusion is a documented decision rather than an accident. Keep a list of what is excluded and who owns the recovery of that data. The check is a written inventory per container that lists each mount point as included or excluded with an owner.
Create backup jobs per container or group
Create one backup job per container or per group that shares a mode, schedule, retention rule and mount point decision. Set the schedule, the retention policy on the Proxmox Backup Server side, and the notification target that will receive job results. Confirm that each job lists the expected containers and that no container is covered twice or missed. Ask your operations team to agree on the notification path before the first scheduled run, so failures reach a person who acts on them.
Run a manual test backup and check the job log
Run one container backup manually from the web interface, then review the task log for errors, warnings and the final size reported. Check the backup appears in the storage content list on the Proxmox Backup Server datastore with the expected container identifier. Repeat the manual run for one container from each mode group so that every configuration is exercised once. The step is complete when each test produces a clean log and a visible backup snapshot on the datastore.
Perform a restore test to a different storage target
Restore a test backup to a separate container ID, and ideally to a different storage target from the original, to confirm the backup is usable and the restore path works. Start the container, check its services, and verify that the mount points you included are present and readable with the expected ownership. Delete the test container after the check and record the result. A successful restore that boots, serves its expected data and leaves no residue on production storage is the evidence that the backup job is worth scheduling. Schedule a repeat restore test on a regular cadence agreed with your recovery owners.
Restoring a container to different storage without losing its config
A restore to different storage or another node is a change to the container's environment, so plan it as a migration with a known rollback point. The restore reads the archive from Proxmox Backup Server or a local backup file and writes a new root filesystem and any included mount points to the target storage you choose in the restore dialog or with pct restore. The container configuration in the archive is carried over, but the storage references are rewritten to the target, so check the rootfs line and every mpN line in the restored configuration before you start the container. Confirm that the target storage type supports containers (directory, ZFS, LVM-thin, Ceph RBD or another type your cluster uses) and that the storage is enabled on the node you restore to. In a cluster, shared storage is visible everywhere, but node-local storage is not, so a restore to a node that lacks the named storage will fail or require a different target.
Privilege settings and mount points deserve separate attention. The restore keeps the unprivileged flag and the features line, so a container that needed nesting or keyctl still has them after the move, but the destination node must support the same features. Mount points are where restores most often diverge from the source. A mount point excluded from the backup is not recreated, so its path will be missing or empty unless you reattach it. A bind mount points at a host path, which is not a storage volume and is not part of the archive, so the same host path must exist on the target node. For an unprivileged container, file ownership on any mounted data must match the UID and GID mapping of the restored container. Compare the lxc.idmap entries and the ownership of the data on the target before you start the container.
Before any restore, confirm three things with your own environment rather than assuming them. First, that the target storage has enough free capacity for the restored root filesystem and the included mount points, plus headroom for growth, since the restore writes the full data set. Second, that the target node is in the same cluster and sees any shared storage you intend to use, which you can check with pvesm status on that node. Third, that the restore does not reuse the container ID of a running guest, because the restore will not overwrite an existing container. Run a test restore to a new ID on the target, verify the configuration and mount points, and only then decide whether to switch workloads over. For the restore options that apply to containers, see the Proxmox VE administration guide and confirm behavior against the version you run.
How a container backup moves from Proxmox VE to Proxmox Backup Server
The flow starts with a running LXC container on a Proxmox VE node, where the backup mode decision (stop, suspend or snapshot) and the choice of mount points to include or exclude are made in the backup job. The Proxmox VE backup tool then sends the data to a Proxmox Backup Server datastore, where incremental, deduplicated and encrypted chunks are stored. The restore path runs back across the same boundary to a storage target you choose, so check the encryption keys and the datastore's ability to restore to a different storage before you rely on it.
The backup and restore path between a Proxmox VE node and Proxmox Backup Server, with the trust boundary between them.
Security and operational risks in container backup jobs
Container backup jobs fail quietly in ways that matter most at restore time. The cards below cover the controls that decide whether a backup can be read, reached and recovered, and what the job does not protect at all. Each risk pairs with one check you can run before you depend on the job.
Encryption key custody
Backups encrypted on the client are unreadable without the key, so losing the key means losing the backups even when the datastore is intact. Decide who holds the key, where an offline copy is kept, and whether the key is stored apart from the Proxmox VE host that creates the backups. Test that a key copy can be read by someone other than the original operator before you rely on it.
Proxmox Backup Server docsAccess to backup datastores
A Proxmox Backup Server datastore holds copies of every container it backs up, including data that may be sensitive. Limit which users and API tokens can write, read, prune or delete backups, and separate the account that creates backups from the one that removes them. Review these permissions after staff changes, because a compromised host with delete rights can erase its own recovery points.
Restore testing
A job reporting success only shows that data was written, not that a container boots and its services start from it. Restore a sample container to an isolated network on a schedule, starting with a container that uses the features you rely on, such as nesting or specific mounts. Record the restore time and the steps needed, because those figures are what you will need during an incident.
Retention and pruning rules
Retention settings decide how far back you can recover and how much storage the datastore consumes. Set keep rules per container or group deliberately, and confirm that pruning does not remove the last good copy before a known-bad change is discovered. Write the retention policy down with the recovery point you expect to need for each system, and review it when container data volumes change.
Failed job monitoring
A backup job that fails at 2 a.m. is only useful if someone learns about it the same day. Route job failure notices to a monitored channel, check for jobs that stopped running entirely, and alert on datastore usage so a full disk does not silently halt new backups. Test the alert path by causing a deliberate failure in a non-production job.
Unprotected excluded mount points
When a backup job excludes a mount point, the data on that mount is not in the container backup, and the job will report success without it. Inventory every excluded mount point, decide whether its data has a separate backup path, and document that path with an owner. Treat any mount point excluded for speed or size as a recovery gap until a separate job covers it.
Cost, effort and what the work needs from your team
How much does a Proxmox Backup Server subscription cost per server per year?
Proxmox lists Proxmox Backup Server subscriptions per server per year at 560 euros for Community, 1,120 euros for Basic, 2,240 euros for Standard and 4,480 euros for Premium. Every tier includes unlimited backup storage and clients and access to the Enterprise Repository, so the choice depends on support needs. Basic includes 5 support tickets a year with a one business day response, Standard includes 15 tickets with a 4-hour critical response, and Premium includes unlimited tickets with a 2-hour critical response. Confirm current pricing and tax treatment on the Proxmox Backup Server pricing page before budgeting, since the subscription is a recurring annual cost on top of any services work.
Can Proxmox Backup Server run without a paid subscription?
Yes. Proxmox Backup Server is free and open-source software under the GNU AGPL version 3 or later, and Proxmox states that all features are available at every subscription level. A subscription changes access to the Enterprise Repository and support entitlements, not the software's capabilities. The Enterprise Repository is recommended for production, while the no-subscription repository is aimed at testing and non-production use. Plan for the repository choice explicitly: a production backup server on the no-subscription repository is a decision your risk and compliance owners should sign off on, and you should confirm the repository setup against the Proxmox package repository documentation during design.
What drives the effort of a container backup design?
Effort scales with the number of containers, how their data is split across mount points, and how many backup jobs and retention policies you need. The main drivers are:
- Datastore sizing, which depends on the change rate of container data, retention depth and deduplication behavior on your workload.
- Number of containers and their backup schedules, including how jobs are grouped by criticality.
- Mount points, since you must decide per volume whether it is included or excluded, and bind mounts behave differently from volume mount points.
- Restore testing, which is often the largest unplanned effort if it is not scoped at the start.
Each of these grows with estate size, so ask for the count and change profile of your containers in the quote.
How long does a pilot for container backups take?
The duration depends on the number of containers in the pilot, the storage and network you have available, and whether restore tests are included. No fixed duration is stated here, so ask the vendor or partner to set it out in the written scope, with the containers, mount point cases and restore scenarios each phase covers. A useful pilot includes at least one container per mount point pattern and a full restore to a different storage target. Confirm the pilot timeline with your team and partner before work starts, and treat it as a measured outcome of the scope rather than a number you assume in advance.
Can an internal team run container backups on its own?
An internal team can run it alone if it already administers Proxmox VE and Linux storage, and has time to test restores. The work requires skills in Proxmox VE storage and backup jobs, datastore administration on Proxmox Backup Server, Linux file ownership for mount points, and recovery procedures. Ownership should be explicit: who sets retention, who runs restore tests, who watches datastore capacity and who handles support tickets if you hold a subscription. Teams without this combination often use an implementation partner for the initial design and restore tests, then keep daily operations in-house.
What should I ask for in a quote for this work?
Ask for a written scope that lists the containers in scope, the mount point cases, the backup modes you expect to use, the Proxmox Backup Server layout, and the restore tests with their success criteria. Ask which items are one-time work, such as design, build and initial restore tests, and which recur, such as subscriptions, monitoring and periodic restore testing. Also ask who pays for hardware, storage capacity and the Proxmox Backup Server subscription, and what happens to the scope if the container count grows. Fixed-scope agreements make these boundaries easier to compare across quotes.
Does restore testing need its own budget and schedule?
Yes. A backup that has never been restored is unverified, so restore testing should be planned as recurring work, not a one-off check. Costs come from the staff time needed to restore representative containers, the spare capacity to run restores without touching production, and the time to record results. Ask whether restore tests will cover each mount point type and a restore to different storage, and how often they will repeat after go-live. Treat the schedule as part of the operating cost rather than an optional extra.
How DeployOpen scopes and delivers container backup work on Proxmox VE
DeployOpen plans, builds, tests and documents container backup and restore for Proxmox VE inside your own infrastructure. The work starts with a written scope that settles which containers are protected, how each backup mode is chosen and how restores are proven before go-live.
How we scope
- Inventory every LXC container, its mount points and which data must be included or excluded from backups.
- Agree in writing which backup mode applies to each container class, with the trade-offs for stop, suspend and snapshot modes.
- Define retention, restore targets and whether Proxmox Backup Server with change detection is in the agreed scope.
- Engagements are fixed-scope, so deliverables and timelines are confirmed before any configuration work begins.
How we build
- Configure backup jobs per container, including mount point handling and storage targets in your Proxmox VE cluster.
- Where Proxmox Backup Server is in scope, set up datastores, encryption keys and client access in your environment.
- Run test restores to alternate storage to confirm data integrity, service startup and permissions on restored mounts.
- Record failure cases observed during testing, such as missing mount points or unsupported restore options, with fixes applied.
How we hand over
- Deliver a runbook covering backup schedules, retention settings, restore steps and who approves a restore.
- Document the configuration as it was built, so your platform team can audit and reproduce each backup job.
- Walk your operations staff through a supervised restore so they can run the procedure without external help.
- Provide a list of items to re-verify after Proxmox VE or Proxmox Backup Server upgrades.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Periodic restore tests can be scheduled under a retainer to confirm backups still recover as documented.
- Ask any quote to state what support covers, including how changes to backup scope are handled.

