DML School of Technology
Menu

Open to everyone Reading, lesson 31 of 100, 2 min read

Backups and recovery

The last line of defence

When everything else fails (ransomware, a stolen laptop, a dead hard drive, an accidental delete), a good backup lets you recover. Without one, data is simply gone, or held to ransom.

The 3-2-1 rule

Keep:

  • 3 copies of important data (the original and two backups),
  • on 2 different kinds of storage (for example an external drive and a cloud service),
  • with 1 copy offsite, away from the main building.

Many organisations now add a further rule: at least one copy that is offline or immutable, meaning ransomware on your network cannot reach it to encrypt or delete it.

Kinds of backup

KindWhat it copiesNotes
FullEverythingSimple to restore; uses most space and time
IncrementalOnly what changed since the last backup of any kindFast and small; restore needs the last full plus every incremental
DifferentialWhat changed since the last full backupRestore needs the last full plus the latest differential

Two numbers that guide backup plans

  • RPO (recovery point objective): how much data you can afford to lose, measured in time. An RPO of 24 hours means a daily backup is enough.
  • RTO (recovery time objective): how quickly the service must be working again.

A school might accept losing a day of library records (RPO 24 hours) but need its results system back within four hours during exam season (RTO 4 hours).

Test your restores

A backup you have never restored is a hope, not a plan. At least each term, restore a few files, or a whole system to a spare machine, and time how long it takes.

Protect the backups

  • Encrypt backups, especially those stored offsite or in the cloud.
  • Use separate credentials for the backup system, with MFA.
  • Keep several versions, so you can go back to before an infection began.

Note

This platform's own server makes encrypted backups and sends them to a second location. It is the 3-2-1 rule applied to a real system.