Immutable backup or LTO tape for Proxmox
Protected snapshots, locked object storage, removable datastores, a remote PBS or LTO tape: what each immutable or air-gapped copy really protects.
In a ransomware attack, backups are a prime target: a company that can restore everything has no reason to pay. If the attacker has obtained an admin account on the hypervisor or the backup server, wiping the online copies takes a handful of commands. That is why requirement documents, auditors and insurers increasingly ask for an “immutable” or “air-gapped” backup. The two terms are often used interchangeably, yet they do not promise the same thing, and with Proxmox Backup Server there are at least five ways to go about it. Each one answers a specific threat; none of them covers every threat.
Immutable and offline backups
An immutable backup cannot be modified or deleted for a given period. It stays online, ready for restores, and it is a piece of software that refuses deletions. How strong the guarantee is depends entirely on who can lift that refusal.
An offline, or air-gapped, backup simply cannot be reached: an unmounted disk, a server cut off from the network, a cartridge on a shelf. Nobody can delete it remotely, but nobody can restore from it in a few minutes either.
To compare the options, one question matters more than any other: who can delete this copy, and through which path?
PBS protected snapshots
PBS lets you mark a snapshot as protected, from the web interface or the command line:
proxmox-backup-client snapshot protected update <snapshot> true
A protected snapshot is skipped by pruning and cannot be deleted manually as long as the flag is set. If the whole group is deleted, only the unprotected snapshots go.
The catch is who can remove the flag. PBS allows it for any account holding Datastore.Modify on the datastore, and also for the owner of the backup group holding Datastore.Backup. In other words, a backup token stolen from a Proxmox VE host can lift the protection on the groups it owns; if it also has the prune privilege (Datastore.Prune), it can then delete those snapshots. The flag is not copied by sync jobs either, so it has to be set again by hand on a target server. It is an excellent safeguard against retention mistakes, not against an attacker.
Object storage with a lock
Since PBS 4.1.9, the S3 datastore backend is no longer a technology preview but a fully supported feature. A datastore can keep its data in an S3-compatible bucket, with a mandatory local cache on the server. The documentation warns that providers may charge for storage, API requests and egress.
Many providers offer Object Lock, which makes objects undeletable for a set period. PBS has no setting for it: neither its documentation nor its code refers to it, and its garbage collection deletes unused chunks from the bucket itself. Enabling a provider-side lock under a PBS datastore therefore stacks a mechanism PBS knows nothing about under software that expects to delete objects. If you want that combination, test it on a staging bucket, garbage collection included, before trusting it with production. And remember that the bucket stays online: its guarantee is only as good as the access controls on the provider account.
The removable datastore
A removable datastore is a PBS datastore backed by a disk that gets mounted and unmounted, an external drive for instance. A sync job can start automatically when the disk is plugged in (run-on-mount) and unmount it when done (unmount-on-done), which lets you automate a rotation of external drives. Verify, prune and garbage collection jobs scheduled while the disk is away are simply skipped; sync jobs, on the other hand, fail with an explicit error so that a forgotten disk gets noticed.
Once unmounted and stored away, the disk is genuinely offline. It only stays that way if someone unplugs it, takes it away and brings it back, and while it is plugged in it is as exposed as any other datastore.
A remote PBS synced in windows
A second PBS server on another site can fetch the backups with a pull sync job. That server holds the credentials for the primary one; the production server has no access to the archive at all. Two settings make the difference: keep remove-vanished off, so that a snapshot deleted at the source does not vanish from the archive, and only open the archive server during sync windows. Between windows, the datastore can be put into the offline maintenance mode, which blocks every read and write, or the server can be cut off from the network.
This is how the offline copy we already run for Cloud-PBS customers works: a datastore in a separate zone, brought online only for the sync. Restores stay fast, since reopening the server is enough. The weak spot is the window itself: during the sync the archive is reachable, and only its administrators can delete it.
LTO tape
Tape is the most radical form of offline copy. Once ejected, a cartridge has no link to any network, sits on a different medium and goes into a vault on another site. PBS supports it natively: media pools, hardware encryption by the drive, scheduled jobs, and even WORM cartridges, which can be neither erased nor overwritten and belong in a pool with a keep retention policy.
The downside is well known. A restore means reading cartridges back into a datastore, a whole media set or one snapshot at a time, which takes hours. You also need a drive, a cartridge rotation, a storage place and someone to look after it all. The Proxmox Backup Server tape backup guide covers the setup step by step.
Comparison table
| Copy | Disconnected | Who can delete it | Restore | Constraints |
|---|---|---|---|---|
| Protected snapshots | No | A Datastore.Modify account, or the group owner with Datastore.Prune | Immediate | Logical protection only |
| Locked object storage | No | Depends on the provider lock, which PBS does not manage | Fast | S3 costs, combination to test |
| Removable datastore | Yes, once unmounted | Anyone with access to the server while mounted | Fast once remounted | Handling and moving the disk |
| Remote PBS in windows | Yes, outside windows | Administrators of the archive server | Fast once reopened | Second server, windows to monitor |
| LTO tape | Yes | Nobody remotely; a WORM cartridge cannot be erased | Slow, cartridges read back | Drive, rotation, storage |
Which combination to choose
These options do not compete, they complement each other. A well-protected online copy handles everyday restores and retention mistakes; a truly disconnected copy is there for the day everything else has been hit. That is the idea behind the 3-2-1-1 rule: three copies, on two kinds of media, one off-site and one offline. For most Proxmox estates, a primary datastore, a remote copy and an offline copy, on tape or on a server only opened in windows, make a consistent whole, and the 3-2-1 storage cost breakdown shows what each copy costs.
If you would rather not run a drive and cartridges yourself, we are preparing an offline LTO tape copy for Cloud-PBS datastores: a remote sync before each run to a drive installed in our offices, away from the datacenter, then cartridges stored offline, from EUR 79 per month excl. VAT on top of the datastore. The service is in preparation; in the meantime we already run the offline datastore described above. And if tape has to be in production on your side right now, our comparison with Nimbus says plainly when they are the better choice.