by Samy (Kondasamy Jayaraman)

Module 56 · Backups and recovery

Beginner

Copies that save a bad day

A backup counts only when a restore works. How often you copy sets what you lose; how fast you restore sets how long you’re down. Here you drop disasters on Larkspur’s server room and plan its copies.

Read as

The whole idea in one example

The disk dies, Thu 17:00

A tape every night

lost

305 orders

Back to Thu 01:00: the whole working day is gone.

A tape every hour

lost

31 orders

Back to Thu 17:00: one hour is gone.

Counts come from a simulated week: Larkspur’s hand-made order log and planning-number restore times.

How it works

Four ideas carry the module

  1. 1 One copy is no copy

    A dead disk takes every order with it

    In Schroeder and Gibson’s 2007 study of disks in large real systems, 2–4% of disks needing replacement each year was common, and some systems reached 13%.

    Source, checked 30 October 2026

  2. 2 Not in the same building

    A fire takes the tapes beside the server

    US-CERT’s Data Backup Options (Ruggiero and Heckathorn, 2012) gives the 3-2-1 rule: keep 3 copies of any important file, 1 primary and 2 backups; on 2 different kinds of storage; and store 1 copy offsite.

    Source, checked 30 October 2026

  3. 3 Out of reach

    Ransomware locks every copy the network reaches

    CISA’s #StopRansomware Guide (2023) says many ransomware variants try to find and delete or encrypt accessible backups, and asks for offline, encrypted backups of critical data.

    Source, checked 30 October 2026

  4. 4 Test the restore

    A copy counts only when it reads back

    GitLab’s 2017 outage post-mortem says its nightly database dumps had been failing unnoticed and no one owned testing the restore; it lost about 6 hours of data.

    Source, checked 30 October 2026

The story

Larkspur’s order database

Larkspur Supply Co.’s order database lives on one disk; the team copies it, carries a copy across town, locks one away from the network, and learns a backup counts only when a restore works. You’re working with Mira, who runs it. How the orders sit on the disk is in Databases & indexes.

3034
orders in Larkspur’s week, the one every chapter runs
168
hours in the week, one step at a time
3
disasters: a dead disk, a fire and ransomware
1
plan wins chapter 7 for the least money

Your path

The chapters

  1. Chapter 1

    One copy is no copy

    What is left when the only disk dies?

  2. Chapter 2

    How often to copy

    How does the copy schedule decide what you lose?

  3. Chapter 3

    Full and since-last

    What does a restore need when copies only hold the changes?

  4. Chapter 4

    Not in the same building

    What survives a fire in the server room?

  5. Chapter 5

    Ransomware

    Which copies does an attacker on your network reach?

  6. Chapter 6

    Test the restore

    How do you know a copy will restore?

  7. Chapter 7

    Plan Larkspur’s backups

    Which plan meets Mira’s rule for the least money?

Who it’s for

  • Engineers
  • Product managers
  • Analysts
  • No code needed

Anyone whose product keeps data it can’t lose, and who wants to know what “we have backups” really promises. No background needed.