Use this when backups must be protected from deletion or change until their retention ends.
Immutable Backup
An immutable backup cannot be changed or deleted until its retention period ends, enforced by the storage itself (object lock, hardened repository, WORM), protecting backups from ransomware and rogue admins.
1. Immutable backups can't be changed or deleted before expiry.
2. Object lock, hardened Linux repository, WORM.
3. Separate admin credentials and MFA.
4. Retention ≥ ransomware dwell time.
5. Test deletion is refused.
backup written → lock → no delete until expiry
Context & applicabilityCommon mistakes · platform/version boundaries
- Governance mode where admins can still remove locks; use compliance mode for real protection.
- Immutability on the repository but not on backup metadata/catalogue.
- Server root access allowing time changes (time-based locks depend on trusted time).
- No monitoring of immutability settings changes.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
aws s3api get-object-lock-configuration --bucket backups
aws s3api get-object-retention --bucket backups --key <object>
On Veeam hardened repositories, lsattr on backup files shows the immutable flag (i). Try deleting a test restore point as admin to confirm it is refused.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Immutability must be enforced by the storage, not just the backup software.
- Compliance mode cannot be overridden even by administrators.
- Retention period sets how long data is locked.
aws s3api get-object-lock-configuration --bucket <b>— object lockchattr +i / hardened repository settings— Linux immutabilityproxmox-backup-manager datastore show <ds>— PBS protection
ReferenceHow it works1 section · depth on demand
Implementation options
| Option | Notes |
|---|---|
| S3 Object Lock (compliance mode) | Cannot be shortened, even by root |
| Azure Blob immutability policy (locked) | Similar |
| Hardened Linux repository (Veeam) | chattr +i style immutability, no SSH |
| Proxmox Backup Server | Protected snapshots + offline sync/tape |
| Appliances (Data Domain Retention Lock) | Compliance mode available |
Governance modes can be bypassed by privileged users; use compliance mode for ransomware protection.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Immutable backups cannot be changed or deleted until a retention date passes, even by an administrator.
| Implementation | How |
|---|---|
| S3 Object Lock (compliance mode) | Per-object retain-until date; no account can shorten it |
| S3 Object Lock (governance mode) | Users with a special permission can bypass — weaker |
| Hardened Linux repository | Files flagged immutable (chattr +i) by a service with no SSH/root login for the backup software |
| Appliance retention lock | Vendor feature with separate security officer role |
aws s3api put-object-lock-configuration --bucket backups --object-lock-configuration '{"ObjectLockEnabled":"Enabled","Rule":{"DefaultRetention":{"Mode":"COMPLIANCE","Days":30}}}'
lsattr /backups/repo/*.vbk
Immutability is only as strong as the clock and the root account: protect NTP and the server's out-of-band management (iDRAC/iLO).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Backup Strategy → Immutable Backup. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/34/r1/final · confidence 94%