MiniCTRM - Build Tutorial 634: Reliability: backups, the restore drill, health checks, logs, upgrades
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
A health endpoint that answers in one call with a status page under Tools, structured logs with a request id on every line, a nightly backup job whose age shows on the Launcher, a weekly restore drill that restores last night's backup into a fresh copy and proves it, a release procedure that backs up first and upgrades by migration with a pre-release test on real data and a training copy, failed nights counted where a person looks, and a Troubleshooting screen of read-only self-checks.
Seven promises, and the health check – The seven things a firm means by trust, how each is kept, and a health endpoint that answers in one call.
A log you can follow – What a log is, a level, a request id, retention; every line the same shape, a file per day, the errors in a table.
Backups, and the drill that proves them – A consistent copy while the system runs, kept N days; a weekly restore into a fresh copy, because a backup nobody has restored is a hope.
Upgrade by migration, with a backup first – The release day as a script and a checklist, the migrations tested on last night's backup, and a copy for training.
Failed nights and checks that only read, then ship – A count of unacknowledged failures where a person looks, a Troubleshooting screen of read-only self-checks; then /ship.
How MiniCTRM did it – Database Maintenance and Troubleshooting, and the seven promises read across the two systems.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
There tomorrow, with yesterday's data
1 / 16Seven promises, and the health check
Seven promises, and how each is kept
2 / 16Seven promises, and the health check
The health endpoint and the status page
3 / 16A log you can follow
A log, from zero
4 / 16A log you can follow
Structured logs
5 / 16Backups, and the drill that proves them
A backup nobody has restored is a hope
6 / 16Backups, and the drill that proves them
Scheduled backups
7 / 16Backups, and the drill that proves them
The restore drill
8 / 16Upgrade by migration, with a backup first
Upgrade by migration, with a backup first
9 / 16Upgrade by migration, with a backup first
The release procedure, the pre-release test and a training copy
10 / 16Failed nights and checks that only read, then ship
Checks that only read
11 / 16Failed nights and checks that only read, then ship
Failed jobs, and a Troubleshooting screen
12 / 16Failed nights and checks that only read, then ship
Ship it
13 / 16How MiniCTRM did it
Database Maintenance
14 / 16How MiniCTRM did it
Troubleshooting
15 / 16What you have now
What you have now
16 / 16
You have finished lesson 634, Reliability: backups, the restore drill, health checks, logs, upgrades.