keepcalculator

06 Numbers and Powers

Offline vs Hybrid Backups: Ransomware Protection

Card No. 06·71823 · Updated · Standard formula, shown below

The best protection against ransomware is an offline (air-gapped) backup, because it cannot be encrypted or deleted by malware that has already compromised your network. A hybrid approach—combining offline backups with a cloud copy—offers the most practical balance of security and recoverability, but the offline copy remains your last line of defense. This article explains how each strategy works, their trade-offs, and how to choose the right one for your situation.

How Ransomware Attacks Backups

Ransomware has evolved to specifically target backup files and systems. Modern strains like Ryuk, Conti, and LockBit scan for connected drives, network shares, and cloud sync folders, then encrypt or delete them before triggering the ransom note. They also delete Volume Shadow Copies (VSS) on Windows and disable recovery tools. The goal is to leave you with no option but to pay.

This means any backup that is continuously connected to your production environment—whether it’s an external drive plugged into your PC, a NAS on your LAN, or a cloud folder that syncs automatically—is vulnerable. If the malware has administrative privileges, it can access those backups just as easily as your working files.

What “Offline” Really Means

An offline backup, also called an air-gapped backup, is a copy of your data that is physically or logically isolated from your network. It is not mounted, not connected, and not reachable by any device that could be infected. Common examples:

  • A removable hard drive that is unplugged and stored in a drawer or safe
  • A tape cartridge that is ejected from the tape drive after each backup
  • A NAS that is powered off and disconnected from the network except during backup windows
  • An optical disc (Blu-ray, DVD) written once and then removed

The key is that the backup is not accessible during normal operation. Even if your main system is fully compromised, the offline copy remains untouched. This is the fundamental advantage over any always-on backup.

Cloud Backups: Convenience with Risks

Cloud backups—whether from services like Backblaze, IDrive, or a self-managed solution like AWS S3—offer off-site protection, automatic versioning, and easy recovery. However, they are not inherently ransomware-proof. If your backup software runs continuously and has credentials stored on your machine, ransomware can use those credentials to delete or overwrite your cloud files. Some cloud services offer immutable storage (object lock), which prevents deletion or modification for a set period, but this is not always enabled by default.

Another risk is that cloud backups are only as good as their retention policy. If you only keep the latest version, a ransomware attack that encrypts your files will simply sync the encrypted versions to the cloud. Versioning helps, but only if you have enough history to roll back to a pre-attack state.

Hybrid Strategy: The Practical Middle Ground

A hybrid strategy combines an offline backup with a cloud backup. The typical setup:

  1. Perform a full backup to a local external drive or NAS on a schedule (e.g., nightly).
  2. After the backup completes, disconnect the drive or power off the NAS.
  3. Simultaneously, a cloud backup service runs continuously, capturing changes to your files.
  4. Enable versioning or immutable storage in the cloud to protect against deletion.

This gives you two layers: the offline copy is your recovery point if the cloud is compromised, and the cloud copy is your recovery point if the offline drive is lost, stolen, or damaged. It also provides geographic redundancy—a fire or flood that destroys your local backup won’t affect the cloud copy.

Which Strategy Is Best for You?

The right choice depends on your risk tolerance, budget, and recovery time objectives (RTO). Here’s a rough guide:

  • Individuals and small home offices: An offline external drive is often sufficient. It’s cheap, simple, and effective. Add a cloud backup if you also want protection against physical disasters.
  • Small to medium businesses: A hybrid approach is strongly recommended. The cost of a NAS plus a cloud subscription is far less than the cost of paying a ransom or losing critical data.
  • Enterprises with strict compliance: Tape backups with off-site storage, plus immutable cloud storage, are the gold standard. This provides multiple air-gapped copies and long retention.

Regardless of strategy, the 3-2-1 rule is a good baseline: keep at least 3 copies of your data, on 2 different media types, with 1 copy off-site. For ransomware specifically, the off-site copy should also be offline or immutable.

Common Mistakes That Undermine Protection

Even with the right strategy, small errors can leave you exposed. The most common:

  • Leaving the backup drive connected. If it’s plugged in, it’s not offline. Ransomware will encrypt it along with your main drive.
  • Not testing restores. A backup that you can’t restore is worthless. Regularly test recovering a few files from both your offline and cloud copies.
  • Using the same credentials for backup and daily use. If your admin account is compromised, the attacker can access your backup software. Use separate, strong passwords and enable multi-factor authentication.
  • Ignoring retention policies. If you only keep one version, you can’t roll back to before the attack. Keep at least 30 days of history.
  • Assuming cloud sync is a backup. Services like Dropbox or OneDrive sync files, but they also sync deletions and encryption. They are not a substitute for a true backup.

Costs and Practical Considerations

Offline backups are generally the cheapest option. A 4TB external drive costs a fraction of a year of cloud storage. Tape is more expensive upfront but has a low per-GB cost for large volumes. Cloud backups have ongoing subscription costs, which scale with the amount of data you store. Some services charge for egress (downloads), which can be significant if you need to restore a large dataset.

Time is also a factor. Offline backups require manual effort to connect, run, and disconnect. Cloud backups run automatically but take longer to restore large amounts of data over a slow internet connection. A hybrid strategy lets you choose: restore critical files from the cloud quickly, and the full dataset from the offline drive if needed.

Frequently Asked Questions

Can ransomware infect an offline backup?

No, as long as the backup is truly offline—unplugged, powered off, and not connected to any network. Once it’s connected to run a backup, it’s vulnerable, so you should disconnect it immediately after the backup completes.

Is cloud storage with versioning enough to protect against ransomware?

Versioning helps, but it’s not foolproof. If ransomware deletes versions or if your retention period is too short, you may not have a clean copy. Immutable storage (object lock) is stronger because it prevents deletion for a set period, but it must be configured correctly.

How often should I run an offline backup?

At least weekly for most users, and nightly for businesses. The more often you back up, the less data you lose in an attack. Balance this with the manual effort required to connect and disconnect the drive.

What is the 3-2-1 rule and does it apply to ransomware?

The 3-2-1 rule says keep 3 copies of your data, on 2 different media, with 1 off-site. For ransomware, the off-site copy should also be offline or immutable. This rule is a good starting point but doesn’t guarantee protection on its own.

Should I pay the ransom if my backups fail?

Law enforcement and security experts generally advise against paying, as it funds criminal activity and doesn’t guarantee you’ll get your data back. If you have no backups, you may have no choice, but paying should be a last resort. Focus on prevention and testing your backups regularly.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →