Client-side backup encryption and key management

Client-side encryption protects Proxmox VE backups before they leave the host, but the key decides whether you can restore. This page covers how to design key storage, escrow and recovery for Proxmox Backup Server.

On this page

Client-side backup encryption in Proxmox VE: when your team needs it

Your team sends Proxmox VE backups to a site it does not fully control, such as a provider's object storage, a remote Proxmox Backup Server run by a partner, or tape stored off-site. Proxmox Backup Server encrypts data client-side with AES-256-GCM before it is uploaded, so the storage target holds ciphertext rather than readable guest disks. That single fact changes who can read your data, and it changes what you must protect. The encryption key, not the storage location, decides whether a backup can be restored. Lose the key and the backups are unreadable, even if every chunk is intact. Lose control of a copy of the key and anyone holding that copy can read the data.

Teams usually need this control when the backup target sits outside their administrative boundary: a hosting provider, a cloud bucket managed by another business unit, a second-site server in a different legal jurisdiction, or removable media that leaves the building. It also matters for regulated data where the compliance owner must show that the storage operator cannot read the content. Before you commit, confirm with your compliance and security leads which of these applies, and whether they expect encryption at rest on the target, encryption before transfer, or both. Those answers determine whether client-side encryption is a requirement or a defense-in-depth choice.

The practical decision is where the key lives and who can recover it. Ask your team to name the owners of the key, the escrow location, and the process for restoring a backup when the primary Proxmox Backup Server and its admin staff are unavailable. Confirm with the Proxmox Backup Server documentation how encryption keys are created, exported and protected in your version, and test a restore using only the escrowed material before you rely on it. Treat that drill as the acceptance test for the design, because a key that cannot be found during an incident gives you the same outcome as no backup at all.

How encrypted backups move from the VM to the datastore

The flow starts on the Proxmox VE host, where the backup client reads the guest disk and encrypts each chunk with a key that stays on the host side. Encrypted chunks then cross to Proxmox Backup Server, which stores them in the datastore without holding the key. A remote sync target is a separate trust boundary: pull jobs send data the remote can read, while push jobs with encrypted snapshots send only ciphertext. Restores run the path in reverse, and the key file must be available on the host or in your recovery store, or the backups cannot be read.

Encryption happens on the host, before any chunk reaches the server or a remote site.

Choosing how the encryption key is stored

Keeping the encryption key file only on the Proxmox VE host or the client that writes backups is the simplest arrangement. Backups are encrypted before they leave the host, so the Proxmox Backup Server datastore and any off-site copy hold only ciphertext. The weakness is that the key sits beside the systems it protects. If the host fails, is reinstalled or is wiped by an attacker, the backups it wrote may become unreadable.

  • What it protects against: Exposure of backup data at rest on the datastore, in off-site sync targets and on tape, because those copies cannot be read without the key.
  • What it exposes: Total loss of readable backups if the only key copy is destroyed with the host, and full decryption for anyone who gains root access to the host.
  • Operational burden: Low day to day, but any host rebuild must restore the key file first, which adds a dependency to the recovery sequence.
  • Rotation: Confirm how the client handles key changes and whether older snapshots remain restorable with the previous key.
  • Storage location: Confirm where the key file is written, its permissions and whether it is included in host-level backups.

Before relying on this option, confirm in the Proxmox Backup Server documentation for your installed version how the client creates, stores and references key files.

Encryption and key options compared

This table compares where the encryption key can live, how it can be escrowed, and how a master key changes recovery after host loss. Read each row against your own recovery objectives, because the key that protects backups is also the key that restores them. The main takeaway is that a backup you cannot decrypt is lost data, so key custody needs the same testing as the backups themselves.

OptionWhat it doesEffect on deduplication and restoresWhat to confirm
Key on the backup host onlyKey file stays on the Proxmox VE node that creates backupsDeduplication works within the datastore; restores need the key present on the nodeWhether the node is lost, the key is lost too, so confirm a separate copy exists
Key copied to an offline locationKey exported and stored under your own custody controls, outside the clusterSame deduplication behavior; restores on a rebuilt host require importing the key firstWho can access the offline copy, how it is audited, and how the import is rehearsed
Key escrowed with a secrets managerKey held in a vault your organization operates, retrieved during recoveryNo change to deduplication; restore speed depends on how quickly the vault is reachableVault availability during a site outage, access policy, and whether it is in the recovery dependency chain
Master key for recoveryA separate key can unlock backups encrypted with per-client keysRestores work with the master key alone, which makes it a high-value secretHow the master key is generated, split, stored, and rotated, and who holds each part
Key lost with no escrowEncrypted backups exist but no usable key copy is heldBackups cannot be restored or verified by any partyAvoid this state; confirm that backup jobs fail loudly if the key is missing
Shared key across sitesOne key encrypts backups from several clusters or sitesDeduplication extends across sources that use the same keyBlast radius if the key leaks, and whether sites can be isolated by key
Separate key per site or clientEach cluster or site encrypts with its own keyDeduplication is limited to sources sharing a keyStorage growth expected from reduced deduplication and the operational cost of more keys

Setting up encrypted backups and a tested key recovery path

This sequence takes a Proxmox VE backup setup from the first encrypted backup to a proven recovery path. Each step ends with a check you can record, so the keys, escrow copies and off-site copies are known to work before an incident depends on them.

  1. Create the client encryption key

    On the host that runs the backup jobs, or on an administration workstation with the proxmox-backup-client tool installed for Linux amd64, create a client-side encryption key using the key creation command in the proxmox-backup-client documentation. Protect the key with a strong passphrase if the tool prompts for one, and keep the key file outside the Proxmox VE node that will hold the backups. The step is done when the key file exists, its fingerprint is written to your change record, and the fingerprint matches the value the tool reports when you read the key back.

  2. Create and isolate the master key

    Create a master key so a recovery path exists if the client key is lost or damaged. Treat the master key as the highest-value secret in the design, because it can unlock backups that depend on the keys it covers. Keep it in a sealed, offline location that someone other than the backup administrator controls, and confirm in the Proxmox Backup Server documentation exactly which keys it can decrypt before you rely on it. The step is done when the master key is stored, its fingerprint is recorded and a second person has confirmed the custody location.

  3. Attach the key to backup jobs

    In the Proxmox VE backup job settings, select the encryption key for every job that should use client-side encryption, and keep the setting in the job configuration your team reviews. Run one backup per job, then open the backup content in the Proxmox Backup Server web interface and check that each snapshot shows as encrypted. Jobs without a key write plaintext snapshots to the same datastore, so list any unencrypted job before go-live and record why it is excluded. The step is done when every job in scope produces an encrypted snapshot.

  4. Escrow the keys in separate custody

    Make at least two escrow copies of the client key and the master key, and place each copy under a custodian or sealed storage location named in your access policy. Record who holds each copy, where it is kept and its fingerprint, but never write the passphrase in the same record as the key material. The step is done when each custodian confirms receipt, the fingerprints match the originals and the custody log is filed with the recovery runbook.

  5. Test restore with escrowed key only

    Build a clean test host that has no Proxmox VE cluster configuration, no original key file on disk and only the access to the datastore that the restore requires. Import the escrowed key, connect to the datastore and restore one virtual machine and one container. Boot the restored guests and compare application-level checks or file checksums against the source data. The step is done when both restores complete, the guests start and the test host has no access to files from the original node.

  6. Confirm encrypted push sync output

    If you copy backups to another site with push sync jobs, enable the option that encrypts snapshots before they are sent, a capability that Proxmox Backup Server documentation describes for the Proxmox Backup Server release you run. Trigger a sync, then inspect the remote datastore and confirm the snapshots are encrypted and unreadable without the key. Restore one item from the remote copy using only the escrowed key. The step is done when the remote restore succeeds and the remote snapshots show as encrypted.

  7. Record deduplication and restore behavior

    Measure what encryption does to storage consumption before you commit to the design. Compare chunk usage for the same workload with and without the key on a test datastore, and confirm in the Proxmox Backup Server documentation how deduplication behaves across different encryption keys. Record the restore time from the test host so the runbook shows the expected recovery path. Schedule a repeat restore after any key rotation or Proxmox Backup Server upgrade. The step is done when your own baseline figures are in the runbook.

What encryption does to deduplication and restores

Client-side encryption changes what the datastore can deduplicate. Proxmox Backup Server splits backup data into chunks and stores each unique chunk once. When the client encrypts chunks with its own AES-256-GCM key before they leave the host, identical plaintext encrypted under different keys produces different ciphertext. A datastore therefore cannot deduplicate chunks across clients that use different keys, even when the guests hold largely the same operating system files. Each encryption key effectively gets its own deduplication domain. Plan for this when you consolidate several clusters onto one datastore: either share one key deliberately across the clusters that should deduplicate together, or accept that storage growth will be closer to the sum of each cluster's full data, with incremental savings only inside each domain.

The effect on storage growth shows up in your capacity model. Measure the deduplication ratio of a pilot datastore with the key you intend to use, not with a test key, because the ratio depends on which clients share a key. Ask your implementation partner to model growth for each key domain separately, and confirm with Proxmox how chunk garbage collection and pruning behave on an encrypted datastore before you set retention. Restores are a different cost. A restore must fetch every chunk of the chosen snapshot and decrypt it on the client, so the key must be available at the restore point, and throughput depends on client CPU and network as much as on the datastore disks.

The server cannot read or verify plaintext. Because the datastore holds only ciphertext and chunk digests, it can check that stored chunks match their recorded checksums, but it cannot confirm that the decrypted guest data is a usable disk, database or file system. Verification jobs confirm chunk integrity and index consistency. They do not prove that an application will start after restore, that a database is consistent, or that the right key was used when the backup was written. Those checks belong in restore drills performed with the key held by the recovery team. Confirm the exact verification behavior for your Proxmox Backup Server version in the Proxmox Backup Server documentation before you write it into your recovery runbook.

Key security and operational risks to control

Client-side encryption moves trust from the storage target to the keys. The cards below cover the risks that connect key custody, key exposure and recovery, and the control a team can put in place for each. Review them together, because a control that protects the key on the host can still fail if the escrow copy is lost.

Lost key equals lost backups

If the encryption key for a datastore or job is gone, every snapshot encrypted with it is unrecoverable, and no administrator can reset that. Record which key protects which datastore and which snapshots, then confirm that a restore works from a copy kept outside the Proxmox Backup Server host. Treat the key record as a backup item with its own restore test.

Proxmox Backup Server docs

Key exposure on the host

A key stored on the same host as the datastore lets anyone with root access on that host decrypt the backups they can read. Check where key files sit, who can read them, and whether the backup server is administered through the same accounts as the hypervisors it protects. Separate the people who manage the backup server from those who hold key material.

Escrow custody

Escrow means a second copy of the key held by a party other than the operator, such as a sealed envelope in a safe, a hardware token, or a secrets manager under a different admin group. Name the custodians, require two of them for release, and document how a key is retrieved during an incident. Escrow fails quietly when nobody remembers where the copy lives.

Key rotation planning

Rotation replaces the active key for new backups, but older snapshots still need the old key to restore. Plan how each generation of keys is stored and labeled, and confirm which restore paths still work after a rotation. Ask your team to test restoring a snapshot taken before the most recent rotation, not only the latest one.

Master key for recovery

A master key lets you recover data when a job key is lost, but it also becomes the most valuable secret in the design. Decide whether a master key is needed, store it under the strictest custody, and log every time it is used. Confirm how Proxmox Backup Server handles master key creation and export before you rely on it.

Restore drills with keys

Key controls are only proven when a restore runs with the escrowed key, on a host that does not hold the original key. Schedule drills that retrieve the key from escrow, restore a sample VM and container, and record the time and steps. Use the results to update the runbook and the custody list.

Questions teams ask before encrypting Proxmox backups

Does encrypting Proxmox backups cost extra in licensing?

No. Client-side encryption is a feature of Proxmox Backup Server, and all Proxmox Backup Server features are available at every subscription level. The tiers differ only in support entitlement, ticket allowance and response time. Proxmox lists Proxmox Backup Server subscriptions per server per year at 560 euros (Community), 1,120 euros (Basic), 2,240 euros (Standard) and 4,480 euros (Premium), all with unlimited backup storage and clients and access to the Enterprise Repository. Choose the tier based on how much vendor support your team needs, not on whether encryption is included. Confirm current prices on the Proxmox Backup Server pricing page before budgeting, since prices can change.

What drives the cost of implementing backup encryption?

The cost depends mostly on the number of sites, datastores and clients that need encryption, and on how many key-handling procedures you must design. Encryption itself is enabled per client or job, so the technical change is small. The larger items are the key custody design, the recovery procedure, the restore test, and the documentation your compliance team will ask for. Expect a quote to separate one-time work (design, configuration, testing, runbooks) from recurring work (key rotation reviews, periodic restore drills, subscription renewals). Ask for each line item to be tied to a written scope, with the number of datastores and sites stated.

How long does it take to set up client-side backup encryption?

Duration depends on the size of the environment and on whether key management already exists. Turning on encryption for one datastore is quick, but the work that takes time is deciding where keys are stored, how escrow works, and proving that a restore succeeds from a clean system with only the escrowed material. Plan time for a test restore on a separate host, for a review with the team that holds the keys, and for a change window if existing backups must be re-keyed or new backup chains started. Ask any provider to state the phases and the acceptance test they will use, and to confirm which of these steps they expect to be complete before the first encrypted backup runs.

What does the client's team need to provide?

Expect to supply access and decisions rather than hands-on effort alone. You will need a named owner for the key, a place to store the escrow copy that is separate from the backup server, and people who can approve the recovery procedure. Your team also needs administrative access to the Proxmox VE hosts and Proxmox Backup Server, a test host for restore drills, and time from whoever runs backups today. Without a documented owner for the master key, the work can finish technically and still fail at the moment of recovery. Confirm these responsibilities in the written scope.

Can our own team implement backup encryption without a partner?

Yes, if you have people comfortable with Linux administration, the Proxmox Backup Server documentation and a tested restore process. Enabling encryption on a client and storing the key file is a well-documented task. The risk is in the surrounding design: where the key lives, who can use it, what happens if the key is lost, and whether a restore has been proven from scratch. Many teams build the basics internally and bring in a partner for the design review, the restore test and the evidence package. Decide which parts your team will own after you have read the vendor documentation and tested a restore on a non-production datastore.

What happens to deduplication and restores when backups are encrypted?

Encrypted backups are deduplicated only within the same encryption key, so data encrypted with one key does not deduplicate against data encrypted with another. Plan datastores and namespaces around the keys you will use, because mixing keys across sites or teams reduces storage savings. Restores need the matching key and the backup data, so a missing key makes the backup unreadable even when the data is intact. Test restores with the key loaded from your escrow location, not from the original host. Confirm the exact deduplication behavior for your Proxmox Backup Server version in the Proxmox Backup Server documentation before you size storage.

What is the main risk of encrypting backups, and how do we reduce it?

The main risk is losing the key, which makes every backup encrypted with it permanently unreadable. Reduce that risk with three controls: store a copy of the key outside the backup server and the hypervisor, protect that copy with separate access control, and keep a documented recovery path that a second person can follow. Also record which key protects which datastore, so an audit or an incident response does not depend on memory. Rehearse a full restore from a clean host using only the escrowed key, and repeat the drill whenever keys or hosts change.

What evidence should we expect for encrypted backups in a compliance review?

Expect the assessor to ask how keys are generated, stored, accessed and recovered, and to request a restore test record. DeployOpen prepares systems, controls and evidence for compliance assessments, including configuration records, key custody procedures and restore test results, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. Ask your auditor which controls they expect to see for backup protection and key management before the design is final, so the evidence you collect matches what they will test.

How DeployOpen scopes and delivers backup encryption

DeployOpen plans, builds and hands over client-side backup encryption and key management inside your own infrastructure, so keys and backup data stay under your control. Each engagement starts with a written scope that names the hosts, datastores, sync targets and key custody model before any configuration changes.

How we scope

  • Inventory of Proxmox VE hosts, backup jobs and Proxmox Backup Server datastores that will use client-side encryption
  • Decision record on which datastores encrypt at the client and which sync targets are treated as untrusted
  • Key custody model agreed in writing, including who holds keys, where escrow copies sit and who can authorize a restore
  • Fixed-scope deliverables and timelines confirmed in writing before work starts, with a quote that follows from that scope

How we build

  • Encryption keys created and stored on the client side, with file permissions and host access limited to named administrators
  • Master key handling set up for recovery, with escrow copies stored separately from the datastores they protect
  • Test backups taken and restored from an isolated host to confirm the keys open the data and dedup behavior is understood
  • Sync jobs reviewed so only the intended snapshots are encrypted before they leave the site

How we hand over

  • Written runbook covering key creation, rotation, escrow retrieval and restore steps with exact commands and file names
  • Documented record of which datastores, jobs and remote targets use encryption and which keys apply to each
  • Restore drill results and a list of open decisions the client must confirm, such as key rotation cadence
  • Walkthrough with your backup, security and infrastructure teams so they can review and operate the setup

How we support

  • Optional retainer for ongoing support, key rotation reviews, upgrades and periodic restore testing
  • Retesting after changes to datastores, sync targets or Proxmox Backup Server versions
  • Review of key custody and access as staff change or new sites are added
  • Support scoped in writing so the client knows what is covered and how requests are handled

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.