Cloudflare D1 Keyless Host Backup

Back up every Cloudflare D1 database you own from one host-side systemd timer that reuses the host's `wrangler login`, with no Cloudflare credential in GitHub, a repo or a sandbox. Use when the repo is public or keyless (so cloudflare-d1-weekly-backup-via-pr does not fit), when backups keep being postponed, before merging a D1 migration (Time Travel bookmark helper), or when restoring from a dump, since a raw `wrangler d1 export` dump cannot be imported back into D1 as is. Ships the backup script (export, restore rehearsal in an in-memory SQLite, row counts, rotation, alerts), a restore tool and the bookmark helper. Covers export blocking the database, FTS5 and virtual tables breaking export, the minimal PATH of systemd user units, and why `pnpm exec wrangler` on the host wrecks a container's node_modules.

okayus Updated 0 repo stars

File contents

okayus/okayus-skills commit 91a956fa71

Frequently asked questions

npx get-skill add okayus/cloudflare-d1-keyless-host-backup