What happened, in order
- Night 1The backup volume reached 100%. The job wrote its first chunk, failed, and exited 0 — it treats a write failure as "nothing to do".
- Nights 2–10Same each night. The dashboard read the last SUCCESSFUL run's timestamp, which never changed, and rendered it as the current state.
- Day 11, morningNoticed while looking for something else: the backup volume's size had not moved in a week and a half.
- Day 11, +20 minFirst theory was the schedule. Wrong — it had fired every night, on time, all eleven times.
- Day 11, +35 minFound the exit code. The job had been reporting success while writing nothing.
- Day 11, +50 minFreed space, ran the job by hand, watched it write. Backups resumed that night.
- Day 12Restore test from the newest good copy. Came back whole, which is the claim that actually matters.
What it was not
- Not the schedule. It fired every night, on time — all eleven runs are in the log with start and end times.
- Not the network or the far end. The job never got far enough to open a connection, and the far end's own log shows no attempts, which is consistent rather than merely silent.
- Not corruption in the existing copies. The restore test on day 12 came back whole.
- Not a recent change. Nothing had been deployed to that host for six weeks. The disk simply filled.
Why it happened
Its write path treats "wrote zero bytes" the same as "had nothing to write", and exits 0 for both. Eleven nights of total failure and eleven clean exit codes.
The cause that actually cost us the eleven days is the second one: every check we had asked whether the job RAN, and it ran. Nothing asked whether a backup newer than yesterday existed. A monitor that watches the runner instead of the result cannot see this failure, and will not see the next one of its kind either.
What it cost
| What | How much |
|---|---|
| Nights with no backup | 11 |
| Data lost | None. Previous copies intact and restore-tested. |
| Time with only one copy | 11 days |
| Time from noticing to fixed | 50 minutes |
| Time from breaking to noticing | 11 days — the number that matters |
What is being done
| done | Space freed and the nightly job writing again. |
| done | The job now exits non-zero when it writes nothing, so a failure is a failure. |
| now | A check that asks whether a backup newer than 36 hours exists — watching the result, not the runner. |
| next | The same check for the three other jobs shaped like this one. |
| held | An alert when the volume passes 85%, which needs somewhere to send it. |
What it taught
Every monitor here asked whether the job ran. A job that runs and does nothing satisfies all of them, and that is not an unusual failure — it is the ordinary one, because most things fail by doing nothing rather than by crashing. The check that would have caught this in a day is "is there a backup newer than yesterday", and it is the same shape for every job we have: assert the positive fact, never the absence of a complaint.