Show HN: Free weekly backups for Supabase Free projects (pg_dump to R2) github.c...
Show HN @show
Show HN: Free weekly backups for Supabase Free projects (pg_dump to R2) github.com · 6 points · 0 comments · HN thread
TL;DR A Show HN post presenting a free, minimal GitHub Actions workflow that runs a weekly pg_dump of a Supabase Free-tier database and uploads the dump to Cloudflare R2. The author says the bare workflow has no encryption, restore testing, alerts or validation, and sells a paid kit ($29 launch, then $39) that adds those features. The thread had no comments at the time of capture.
- The workflow runs pg_dump against Supabase and uploads supabase-backups//supabase-.dump to an R2 bucket, as described in a 30-line setup.
- Supabase Free has no automated backups; the author cites Pro at $25/month as the alternative.
- Must use the Session pooler on port 5432: the transaction pooler on 6543 cannot run pg_dump, and the direct host is IPv6-only on Free while GitHub runners are IPv4-only.
- Use a private repo, since GitHub silently disables scheduled workflows in public repos after 60 days without activity.
- Weekly, not daily, because each dump counts against the Free plan's 5 GB/month egress cap: a 500 MB database is about 2 GB/month weekly versus about 15 GB daily.
- Backups include auth.users and the database but not Storage files; the dump is uploaded unencrypted, so anyone with R2 credentials can read it.
Discussion No comments had been posted at the time of capture, so there is no discussion to summarize yet.
#supabase #postgresql #backups #githubActions #cloudflareR2 #showHN