ChiselOps

Case 02

Backups ran for three years and were never restored

The first drill took 4 hours 20 minutes and lost 19 hours of data. Three weeks of work later: 38 minutes, and at most fifteen minutes lost.

The second of two cases. The first one is about releases and rollback.

Client
Analytics for retail chains, fourteen people. Not named.
What was copied
A 2.1 TB primary database and a file store of reports
Audit
16 March 2026
Work
23 March – 10 April 2026
Target
No more than 15 minutes of loss, restore inside 45 minutes

How it looked before

A daily copy had been taken for three years without a gap. The job exited zero, the monitor was green, the storage-size graph rose steadily. By every signal anybody looked at, backups worked.

Asked when a restore had last been performed, they said: during the move in 2023. Half an hour of digging showed that the move had restored not from these copies but from a disk snapshot taken by hand that morning. A real restore from three years of backups had never happened.

This is the most common thing we find. The job verifies that a command finished without error, not that the file contains data that can be unpacked. Between those two statements lay three years and nineteen hours.

The first drill, 2 April

We unpacked a copy into a separate environment and recorded the time at each step.

Time from the start of the drill. Two of us, their engineer present, production untouched.
TimeWhat happened
00:00Started, with the previous day’s copy in hand
00:12Found that transaction log copies for the last 40 days were empty: the job had been edited in February and stopped including the log. The exit code stayed zero throughout
01:05The daily snapshot finished unpacking
02:40The service would not start: a settings file was missing that had never been copied in three years - it was reconstructed from memory
04:20The service came up on day-old data. Actual loss: 19 hours

What we changed

  1. The transaction log ships to the copy every 15 minutes, and immediately after each shipment a check confirms the file is non-empty and its timestamp is newer than ten minutes. Failing that check fails the job, even when the command returned zero.
  2. A manifest of what the copy must contain is written beside it. A mismatch between manifest and contents is an error, not a warning - that alone would have caught the February edit the same day.
  3. The drill became a script: it brings up a separate environment, unpacks the latest snapshot, applies the log, checks integrity and compares control figures - row counts in five tables and the sum of one monetary column.
  4. Schedule: a drill every quarter and always after any change to the backup job. The second trigger matters more than the first.
  5. A one-page document: what to run, what you should see, whom to call if the control figures disagree. Verified by an employee who took no part in the work.
  6. Settings files moved into the repository and are copied along with everything else. That took two hours, and in the first drill it had cost them 95 minutes.

Three drills after handover

The team ran these without us. We received a short report by email each time.
DateTimeNote
12 May 202638 minFirst unaided drill, their engineer with us reachable by email
9 June 202641 minRun by a different person for the first time; three minutes went on finding storage access
14 July 202636 minImmediately after a change to the backup job - exactly as intended

Data loss stayed within fifteen minutes in all three, so the loss target holds, and the restore target has headroom: 45 minutes against 36 to 41 in practice. The headroom is deliberate: twenty minutes would need a warm second environment, money every month against an event that happens once in several years.

What this does not solve

It protects poorly against deletion from the inside, whether malicious or accidental. Two people hold write access to the backup store, and if data and copies were deleted together there would be nothing to restore from. The proper answer is a copy that cannot be deleted before its retention expires; we proposed it, the client deferred it, and it is risk number one in the report.

Retention is thirty days. If corrupted data goes unnoticed for two months, no intact copy remains. That is not an oversight but a cost trade-off, written plainly in the report so that nobody is surprised a year later.

We published the drill script template openly on 24 September 2026 - see the timeline. The first case, about releases, is built differently: there the before-and-after numbers carry it.