- Gather credentials and a staging bot/app solely for litestream restore.
- Implement the minimal change so that: Fresh dir; verify; then cutover.
- Add a fail-closed unit or fixture test that locks the behavior of litestream restore.
- Run the flow end-to-end in staging; capture logs for the success and error paths.
- Write operator notes (env vars, rollback) for litestream restore in the README.
Tutorial
Restore Litestream SQLite replica
Fresh dir; verify; then cutover.