Pcornel
Storage · Backup Strategy

Immutable Backup

Cheat sheet · https://pcornel.dk/topic.php?topic=4266

Back to the Topic

Answer

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.

Remember

  • 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.

First checks

  • aws s3api get-object-lock-configuration --bucket <b> — object lock
  • chattr +i / hardened repository settings — Linux immutability
  • proxmox-backup-manager datastore show <ds> — PBS protection

Verify in this order

backup written → lock → no delete until expiry

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4266

Confirmation

Confirm action

Continue?