Ransomware protection for Proxmox VE backups

Design Proxmox Backup Server so backups survive a compromised Proxmox VE host, with separate credentials, verification, off-site copies, tape and tested restores.

On this page

Ransomware protection for Proxmox VE backups starts with assuming the hypervisor is compromised

Protection means backups that an attacker holding host root or a stolen API token cannot easily delete, overwrite or encrypt. If the same credential that manages production can also prune the backup datastore, the backups are one credential away from loss, whatever the schedule says. Backup targets are a deliberate ransomware target for this reason: attackers who reach a hypervisor look first for the copies that would make extortion fail. The design question is therefore not whether backups exist, but which identity can change them, from which network, and how long the damage would take to notice.

This design is needed most in regulated environments, where backup retention is itself a control; in environments with shared administrator access, where many people and automation tools hold Proxmox VE rights; and wherever the Proxmox Backup Server sits on the same network segment as production with routine trust between them. The layers that matter are separate Proxmox Backup Server credentials and permissions so that the Proxmox VE host can write backups but not destroy them, verification jobs that prove the chunks still read back correctly, off-site sync to a second server that the production side cannot reach, tape copies that are offline by design, and regular restore tests. No single control is sufficient. Each one closes a different path, and together they make an attack slower and easier to detect.

Before you commit to a design, confirm with your own environment which accounts hold the Proxmox VE administrator role, which API tokens exist and what they can reach, and whether any path lets a production host log in to the backup server with rights to prune. The Proxmox Backup Server documentation is the reference for the datastore and permission model you will be working with, and your answers to these questions set the scope of the rest of the work.

Which protection control fits which failure

This table compares six controls for Proxmox VE backups against the failures they address, the gaps they leave, and their operating cost. Read each row as a question: if this control is in place, what can still destroy or expose the backup? The main takeaway is that no single control covers ransomware, so most designs combine a separate credential, an off-site or offline copy, and tested restores.

ControlWhat it protects againstWhat it does not protect againstOperational cost
Separate PBS API tokens and rolesA compromised Proxmox VE host or admin session writing or deleting backups with its own credentialsAn attacker who obtains the PBS administrator credential or the datastore host itselfInitial setup and token rotation; the team must keep role scopes aligned as jobs change
Verification jobsSilent corruption of chunks or snapshots that would make a later restore failDeliberate encryption or deletion of backups, since verification only checks integrityRecurring compute and I/O on the datastore; schedule outside peak backup windows
Pull sync to a second PBSA compromised primary site deleting or altering the remote copy, since the remote server initiates the connectionCompromise of the remote server or of the credentials it uses to pullSecond server, storage, bandwidth and monitoring for the remote site; recurring
Encrypted push sync for untrusted sitesExposure of backup content at a site the owner does not fully trust, because pushed snapshots can be encrypted before they leaveLoss of the encryption keys, which makes the remote copy unreadable; a push target that can delete data still needs separate controlsKey management and escrow; PBS 4.2 added encryption of pushed snapshots, so confirm the version in use
S3-compatible object storage datastoresLoss of the primary site, with copies stored in a separate administrative domainDeletion through the same object store credentials, unless bucket versioning or object lock is configured and verified by the providerRequest and storage charges that recur; confirm object lock and versioning support with the provider before relying on them
LTO tape with media rotationAttacks that reach online storage, since offline cartridges cannot be changed over the networkSlow recovery from tape, and loss if cartridges are kept at the same site or the tape drive is compromisedDrives, media, rotation labor and off-site transport; PBS 4.2 supports up to 256 tape drives per changer in the web interface

How to set up a protected backup chain for Proxmox VE

This sequence builds a backup chain in which the hypervisor can write backups but cannot erase or administer them, and in which a second copy and an offline copy survive an attack on the primary environment. Each step ends with a check you can repeat before the chain is trusted.

  1. Plan datastores and a separate backup network path

    Your infrastructure or backup engineers map which Proxmox VE clusters back up to which Proxmox Backup Server (PBS) datastores, and decide where the PBS host sits on the network. The PBS host should be reachable from the hypervisors on a dedicated backup network path, with no general user or workstation access. Document the datastore names, the storage each one uses, and the firewall rules that allow only the backup traffic. The step is done when every datastore has an owner, a storage location and a written list of allowed source addresses that you can test from a host outside that list.

  2. Create dedicated PBS users and API tokens

    Your PBS administrator creates a separate user and API token for each Proxmox VE cluster, granting only the datastore permissions that backup jobs need. The token used by backup jobs should not hold permissions to prune, delete or change datastore settings, and it should not be a token used by people. Confirm the exact role names and privileges in the PBS user management documentation for your version before you assign them. The check: attempt a forget or delete of a snapshot using the backup token, and confirm the request is denied while a test backup still succeeds.

  3. Keep administrative credentials off the hypervisor

    Your security team removes PBS administrator credentials, root passwords for the backup server and any prune-capable tokens from Proxmox VE hosts and the nodes' stored configuration. The hypervisors keep only the backup-write token, and the administrative accounts are held by a small group who sign in from a management path with two-factor authentication. Record where each credential lives and who can rotate it. The check: search the hypervisor nodes for stored PBS credentials and confirm only the write-only token appears in the storage definitions.

  4. Schedule verification jobs on each datastore

    Your backup engineer configures PBS verification jobs so each datastore checks the integrity of stored chunks and snapshots on a regular schedule, and records the results. Verification confirms that backup data can still be read and matches its checksums, which matters when an attacker or a failing disk has changed stored data. Review the verification failure notifications and make sure they reach an administrator outside the hypervisor team. The check: run one verification job manually, confirm it completes without errors, and confirm a failure notification is delivered to the monitored address.

  5. Configure a second PBS with a sync job

    Your team sets up a second PBS in a separate location or administrative domain and configures a sync job to copy snapshots from the primary datastore. A pull job runs on the second server and reaches into the primary, which keeps the primary from holding credentials for the copy. A push job runs from the primary and is appropriate when the second site is untrusted, and in that case encrypting pushed snapshots is required. Confirm with your PBS documentation which option fits your network and whether your version supports the encryption setting you need. The check: compare snapshot counts and the latest snapshot time on both servers, and confirm a restore of one VM from the second server.

  6. Add an offline copy on tape or object storage

    Your backup team adds a copy that an attacker with access to the network cannot reach or delete, such as LTO tape rotated off-site or an S3-compatible datastore with access policies managed separately. Tape media is written by a tape backup job and kept in a pool that the online system cannot erase once ejected. Confirm the media pool, encryption and rotation procedure against the Proxmox Backup Server tape documentation and your library hardware. The check: list the tape or object copies with their dates and confirm at least one copy is physically or logically out of reach of the online credentials.

  7. Run a restore test and record the result

    Your operations team restores a representative VM and a container from each copy, starting with the second PBS and then the offline copy, to a non-production network segment. They boot the restored guests, check that the application data opens and that the restore matches the expected date. Record the restore duration, the data checked and any errors, and add the test to a recurring schedule owned by someone outside the hypervisor team. The step is done when every copy has produced a restored, checked guest and the result is written down. Only then should the chain be treated as protected.

Security and operational controls that keep backups intact

Backups fail as a recovery plan when the same credentials, network paths and administrators that run production can also alter or delete them. The cards below cover the controls that keep the backup path separate, verifiable and visible, so a compromised production host does not automatically compromise the copies you restore from.

Separate Proxmox VE and PBS credentials

Give the Proxmox VE backup job its own PBS user and API token with write-only rights to the datastore it needs, and keep PBS administrator accounts out of the Proxmox VE cluster realm. If a hypervisor is compromised, the attacker should not inherit rights to prune, forget or destroy backup groups. Check that no credential stored on a hypervisor can delete snapshots.

PBS documentation

Enforce MFA for PBS administrators

Every human account that can manage datastores, prune jobs or sync configuration should require a second factor, and the recovery keys should be stored offline under dual control. Production admin accounts and backup admin accounts should not be the same identity. Confirm which second-factor methods your PBS version offers before you write the access policy.

Segment the backup network path

Place the PBS server on a management or backup VLAN that production workstations and general user networks cannot reach, and restrict traffic so only the Proxmox VE hosts can open the backup port. Block direct inbound access from the internet. Review firewall rules after each network change, because a single permissive rule can expose the datastore to a lateral movement path.

Control key custody for client-side encryption

If you use client-side encryption, the encryption key must live outside the systems that could be encrypted. Store copies of the key in a separate secret store or sealed offline media, and record who can retrieve them. Without the key, encrypted backups are unrecoverable, so test a restore that uses only the escrowed key. Review the encryption key guidance before enabling it.

Monitor failed verification and sync jobs

Failed verification and failed sync jobs are early signals that backup data is corrupt or that copies have stopped moving. Route job failure notifications to a team that will act on them, and treat a stale off-site copy as an incident. Confirm which notification targets and alert thresholds your PBS version supports, and test that an alert actually reaches an on-call person.

Log and review configuration changes

Record who changed datastores, retention settings, sync targets, users and permissions, and when. Keep these records somewhere the backup administrators cannot edit. Confirm the audit capabilities of your PBS version and of your central log platform before relying on them, and do not assume that a backup server keeps a complete change history by default.

Questions teams ask before protecting Proxmox VE backups

What drives the cost and effort of a ransomware-resistant backup design?

The cost depends on how many hosts, guests and datastores are in scope, how much change the backups must survive, and how many separate copies and locations you need. Each added PBS server, off-site sync target, S3 bucket or tape library adds hardware or subscription cost and configuration work. Proxmox Backup Server subscriptions are priced per server per year, and the Proxmox Backup Server pricing page lists Community at 560 euros, Basic at 1,120 euros, Standard at 2,240 euros and Premium at 4,480 euros. Ask any partner for a quote that lists each component separately: one-time design and build work, recurring subscriptions, storage and bandwidth, and ongoing restore testing.

How long does it take to build ransomware-resistant Proxmox VE backups?

Duration is set by the number of backup servers, the number of datastores, whether off-site copies go to a second PBS, S3 or tape, and how many credential and permission changes must be rolled out without disrupting existing jobs. Environments with a single PBS and a clear inventory of backup jobs move faster than ones with several clusters, legacy backup tools and unclear owners. Restore testing is part of the build, so plan time for at least one full restore into an isolated network. Confirm the schedule, change windows and acceptance criteria in the written scope before work starts, since most engagements are fixed-scope.

What does the work need from our team?

The work needs administrative access to the Proxmox VE clusters and Proxmox Backup Server instances, network paths between Proxmox VE hosts, PBS servers and any off-site targets, and enough storage capacity for datastores, sync targets and fleecing if used. Your team also needs to approve change windows, because permission changes and job edits can interrupt scheduled backups. Identify who owns the directory or identity provider, since Proxmox VE can authenticate through LDAP, Active Directory or OpenID Connect. Agree in advance on where the backup encryption keys will be stored and who can access them.

Can our internal team design and run this without a partner?

Yes, if your team has Linux, storage and backup administration skills and time for testing. The main risks are not technical complexity but gaps in separation: the same administrator who manages production VMs also holding the PBS root or datastore credentials, verification and sync jobs that nobody monitors, and restore procedures that have never been exercised. A partner can provide an independent review of credentials, permissions and restore evidence. Whichever path you choose, document the separation of duties and the test results so auditors and incident responders can follow them.

Does a Proxmox subscription tier change PBS features or only support?

Proxmox states that all Proxmox Backup Server features are available at every subscription level, so the tiers change support entitlement, not functionality. Basic includes 5 support tickets a year with a one business day response, Standard includes 15 tickets with 4-hour critical response, and Premium includes unlimited tickets with 2-hour critical response, according to the Proxmox Backup Server pricing page. Community has no enterprise ticket support. Subscriptions also grant access to the Enterprise Repository, which Proxmox recommends for production. Choose the tier based on how quickly you need vendor help during an incident.

How often should we test restores of protected backups?

Test restores on a recurring schedule that you define in your recovery plan, and run at least one full restore into an isolated network after any change to PBS credentials, datastores, encryption keys or sync targets. Verification jobs confirm that stored chunks are readable, but they do not prove that a VM boots, its application data is consistent or that your team can complete the runbook under time pressure. Record the date, scope, restore duration and any failures for each test. Ask your partner or internal team to define the frequency and the success criteria in writing so the test cadence is auditable.

Which backup copies should sit outside the attacker's reach?

Keep at least one copy that the production Proxmox VE credentials cannot delete, such as a pull-based sync from a second PBS, an S3 datastore with separate access keys, or a tape copy rotated off-site. Pull sync is usually easier to protect because the remote server initiates the connection and does not need write access on the source. Push sync with encryption enabled suits untrusted second sites, and Proxmox Backup Server 4.2 allows push sync jobs to encrypt snapshots before sending them, according to the Proxmox Backup Server roadmap. Confirm the exact retention and immutability behavior of each target in your own environment before relying on it.

Where trust boundaries sit in a protected backup chain

The chain starts on Proxmox VE nodes, which write backups through a restricted API token to a primary Proxmox Backup Server datastore. Administration runs on a separate path with its own credentials, so a compromised node cannot delete the backup history. Off-site copies leave by pull or push sync to a second PBS, and a tape or offline copy sits outside the network entirely. Check that each arrow crosses a boundary with a different credential, and that no single account can reach both the production side and the backup side.

Trust zones and the credentials that cross each boundary in a backup chain.

Why restore tests decide whether the protection works

A backup is only proven by restoring it. Credentials, retention and verification jobs can all look correct on paper while a restore still fails, so the restore drill is the test that counts. Run it against three copies: the primary Proxmox Backup Server datastore, the off-site copy received through a sync job, and the tape copy if you keep one. Each copy has different credentials, network paths and media, so a drill against only the primary tells you little about whether the other two can be used during an incident. Restore a representative set of VMs and containers from each location, including at least one workload that uses a database or a Windows guest, since those are where consistency problems usually appear.

Record how long each restore takes from the moment the decision is made to the moment the guest is usable, and note every manual step, password lookup and missing dependency along the way. Verify the guest data itself rather than trusting a restore that finished without errors: check that the application starts, that database integrity checks pass and that files open. Confirm which restore method you would use under pressure and whether the drill exercised it. Ask your partner or internal team to document these steps as a runbook, and confirm with your own environment which of the restore options described in the Proxmox Backup Server documentation (linked on the Proxmox Backup Server site) are supported for your storage and guest types.

The drill results must feed back into the protection design. If a restore needed a credential that the restoring team could not reach, revisit the separation of PBS roles and tokens. If a copy was missing the backup point you expected, adjust sync schedules or retention, since pruning on the primary can remove snapshots before they reach the off-site target. If the tape copy was slow to locate or read, change media rotation or catalog handling. Repeat the drill after each significant change, and keep dated records of what was restored, from which copy and with what result, because those records are the evidence that a protected backup can actually be recovered.

How DeployOpen scopes and delivers ransomware-resistant backups

The sequence turns an existing Proxmox VE and Proxmox Backup Server setup into a backup path with separated credentials, verified copies and restores that have been rehearsed and documented. Each stage ends with a written output the client keeps.

  1. Agree a written scope before work starts

    DeployOpen and the client agree in writing which clusters, Proxmox Backup Server instances, datastores and off-site or tape targets are in scope, which controls are expected, and what the client will receive. The client's security, backup and infrastructure owners confirm the scope and the people who approve changes. The output is a signed scope document that defines what done means for the engagement.

  2. Inventory current backup paths and permissions

    DeployOpen maps how backups travel from each Proxmox VE node to Proxmox Backup Server, then to any sync target, S3 bucket or tape library. The review covers Proxmox VE and PBS users, realms, API tokens, roles and paths, and checks whether the same identities can both write and delete backups. The output is a written inventory of credentials, permissions and retention settings with each gap marked for the client to decide on.

  3. Design separated credentials and permission boundaries

    Together with the client, DeployOpen chooses how backup clients, administrators, sync jobs and verification tasks authenticate, and which of them may prune or delete snapshots. The design records where two-factor authentication, API tokens and separate administrative accounts apply, and where the client's identity provider is used. The output is an access design document that the client's security team can review before any change is made.

  4. Implement controls inside the client's infrastructure

    DeployOpen applies the agreed design in the client's own environment, covering PBS permissions, verification jobs, sync configuration, protected snapshots and any tape or S3 targets the client has chosen. Changes are made through the client's change process, and encryption keys are handled as the client's key management requires. The output is a change record listing each setting, its owner and the rollback step.

  5. Test the backup path for weaknesses where requested

    If the client asks for it, DeployOpen tests the backup path itself, checking whether a compromised Proxmox VE node, API token or PBS credential could delete, alter or expire backups, and whether off-site copies can be reached from the production network. Findings are rated and tied to specific settings. The output is a findings report with fixes, followed by a retest of each fixed item.

  6. Rehearse restores and record the results

    DeployOpen and the client run planned restore exercises from the protected copies, including a copy taken from the off-site, S3 or tape location where one exists. The exercise records which backup was restored, who performed each step, how long it took against the client's own recovery targets, and what failed. The output is a restore rehearsal log that the client can use for internal review and for evidence requests.

  7. Hand over runbooks and evidence

    DeployOpen delivers the configuration record, access design, verification and sync settings, runbooks for restoring from each copy, and the rehearsal log. The client's team confirms they can operate the controls and knows where to find each record. The output is a handover package that the client owns and stores in its own documentation system.

  8. Continue support under an optional retainer

    If the client wants ongoing help, DeployOpen can provide a retainer covering Proxmox VE and PBS upgrades, periodic permission reviews, repeat restore rehearsals and retesting after major changes. Scope, cadence and responsibilities are written into the retainer before it starts. The output is a recurring service record, with cost set by the agreed retainer terms and the number of systems covered.

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.