Backup Solutions Contact

What is immutable storage? A practical guide to ransomware-proof backups

A backup is only a real backup if an attacker can't touch it. Many backups stay permanently connected to the network, and are therefore just as vulnerable to ransomware as the systems they're meant to protect. Immutable storage exists to prevent exactly that.

Last updated: 10 November 2026

The core idea in one sentence

Immutable storage is storage where data, once written, cannot be changed, encrypted, or deleted for a set period.

The model behind it is called WORM: Write Once, Read Many. You can read and restore the data at any time. Nobody can overwrite or remove it until the lock expires.

Why this matters for ransomware

Attackers increasingly target backups first, so recovery becomes impossible before they demand ransom. With stolen credentials, an ordinary backup environment can be wiped. With properly configured immutable storage, that doesn't work as long as the retention period is running.

A typical attack goes like this: the attacker gets in with stolen credentials, finds the backup console, deletes or encrypts the repositories, and only then hits production. Immutable storage breaks that middle step. It is the extra "1" in the 3-2-1-1-0 backup rule.

How does it work technically?

Retention period: cannot be changed, encrypted, or deletedUnlocked
Written onceRetention expires

The best-known implementation is Object Lock, also known as WORM (Write Once, Read Many). Data is written once and remains readable only until the retention period expires. There are usually two modes:

  • Compliance mode: no one can remove the lock or shorten the retention period, not even an administrator, and often not even the provider.
  • Governance mode: accounts with special permissions can bypass the lock. Useful for management, but an attacker with those permissions can do the same.

Always ask which mode a provider uses, who can change the retention period, and whether admin accounts have extra protection with MFA.

Compliance mode vs governance mode: which one to use?

For protection against ransomware, compliance mode is the safer choice. Use governance mode only when the privileged accounts are strongly secured.
Compliance modeGovernance mode
Who can bypass the lockNobody, not even an administratorAccounts with special permissions
Best forBackups that must survive a compromised admin accountTesting, or environments that need flexibility
Main riskYou cannot shorten the retention period if you set it too longAn attacker with those permissions can remove the lock

Ways to implement immutable storage

The principle is the same everywhere; the technology isn't. Three routes are common:

  • Object storage with Object Lock: cloud or S3-compatible storage where each backup object gets a retention lock. The usual route for cloud backup.
  • A hardened Linux repository: an on-premises disk repository set up so backup files can't be changed or deleted for a set time. Fits teams that want data on site.
  • WORM tape or appliances: physical media or dedicated storage that enforces write-once. Often used for long-term archives.

Immutable versus air-gapped

Immutable storage protects data while it stays connected; the protection lies in the lock. An air-gapped backup isolates the copy physically or over the network. For the strongest protection, the two are often combined.

See how both fit into the 3-2-1-1-0 backup rule.
Immutable storageAir-gapped backup
How it protectsA software lock on connected dataPhysical or network isolation of the copy
Restore speedFast, data stays onlineSlower, the copy often has to be reconnected
EffortLow once configuredOften manual
Main riskWeak configuration or short retentionForgotten or skipped routine

How to choose the retention period

The retention period decides how long a backup stays locked. Set it too short and the lock may expire before you notice an attack. Set it too long and you pay for storage you no longer need. Four things decide it:

  • Detection time: lock for longer than it would realistically take you to notice an attack. Attackers sometimes sit in a network for a while before they strike.
  • Restore points: how far back do you want to go? This ties directly to your RPO and RTO.
  • Compliance: some rules or contracts require a minimum retention period.
  • Cost: a longer lock means more data kept, so more storage.

Pros, cons and cost

The upside: protection against ransomware and deletion, whether malicious or accidental, plus clear proof for audits that backups can't be tampered with.

The catch: you can't delete locked data early, and everything depends on a correct configuration. It also doesn't help if the data was already infected when the lock went on. Restore tests still matter.

On cost, you mostly pay for the extra storage the retention period needs, since locked data stays until it expires. Some providers include immutability. Others charge for it as an add-on.

Common configuration mistakes

  • A lock that expires too soon. It runs out before you detect the attack.
  • Governance mode with weak accounts. Anyone with the right permissions can lift the lock.
  • Locking data that's already compromised. Immutability keeps whatever was written, infected files included.
  • Admin accounts without MFA. Take over the account and an attacker can change the settings around the lock.
  • Treating it as the whole strategy. You still need several copies and tested restores.

What to ask a provider about immutable storage

Before you choose, get answers to these:

  • Which mode is used, compliance or governance?
  • Who can change or shorten the retention period?
  • Are admin accounts protected with MFA and separate credentials?
  • Is immutability included by default, or a paid add-on?
  • Can you test a restore from the locked copy?

Immutable storage factors into our Security & compliance criterion. In the provider comparison, you can see for each provider whether immutable storage is included by default or is a separate add-on.

Frequently asked questions

Can immutable storage be hacked?+

No system is completely invulnerable. In compliance mode, data can't be changed or deleted through the normal storage interface during the retention period, not even with admin rights. The risks mostly lie in configuration: too short a retention period, governance mode with weakly secured accounts, or data that was already compromised before the lock was applied.

Is immutable storage more expensive?+

That varies by provider. Some BaaS services offer it at no extra cost; with others, you pay for the additional storage the retention period requires.

Does immutable storage replace a normal backup?+

No. Immutable storage is a way of protecting a backup copy, not a backup strategy on its own. You still need regular backups, several copies and tested restores. Immutability makes sure at least one of those copies cannot be changed or deleted.

Does immutable storage protect against accidental deletion?+

Yes, for the data that is locked. During the retention period, neither a mistake nor an attacker can delete it through the normal storage interface. The flip side is that you also cannot remove it early yourself, so set the retention period carefully.

Is immutable storage required by NIS2?+

No. NIS2 requires appropriate security measures, including backup management and disaster recovery, but it doesn't prescribe specific techniques. Immutable storage is a common way to show that your backups can survive an attack. More in our guide on NIS2 and backup requirements.

More guides

Glossary
The 3-2-1-1-0 rule→RPO and RTO explained→NIS2 and backup requirements→