Scheduled backup drafted for the explorer's database
The explorer is the public website for reading Satsuma's chain. Its indexer stores the chain's history in a Cloudflare D1 database. In a Claude Code session, a scheduled backup for it was drafted on a branch of the explorer's code: a GitHub Actions workflow, and a second option for a local machine made of a backup script, a launchd job and an install script. The README was updated to match.
The reason was written into the task: the chain's public RPC endpoint keeps only a rolling 30-day window, so from 2026-10-15 on the D1 database is the only copy of older history. Nothing yet shows the work committed, which of the two schedules was chosen, or a backup run and restored.
- Backup options for the explorer's D1 database
- A GitHub Actions workflow that runs the backup on a schedule
- Local scheduling with a backup script, a launchd job and an install script
- A backup is needed because the public RPC endpoint keeps only a rolling 30-day window, leaving the D1 database as the only copy of history from 2026-10-15 on
- The work happens on a branch, not on the main line of the code
- Whether the work has been committed
- Which option is used: the GitHub Actions workflow, the local launchd job, or both
- Where the backups are stored
- No backup run or restore check yet