# BackupDrill: open-source Supabase Postgres backups with automated restore drills

DevFeed: [BackupDrill: open-source Supabase Postgres backups with automated restore drills](<https://devfeed.tech/articles/backupdrill-open-source-supabase-postgres-backups-with-automated-restore-drills-95073.md>)

Original publisher: [Read original article](<https://www.postgresql.org/about/news/backupdrill-open-source-supabase-postgres-backups-with-automated-restore-drills-3413/>)

Published: 2026-10-22T00:00:00Z

Content type: article

Language: en

Sources: [PostgreSQL news](<https://devfeed.tech/sources/postgresql-news.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [alerts](<https://devfeed.tech/tags/alerts.md>), [automated](<https://devfeed.tech/tags/automated.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [cli](<https://devfeed.tech/tags/cli.md>), [container](<https://devfeed.tech/tags/container.md>), [dump](<https://devfeed.tech/tags/dump.md>), [email](<https://devfeed.tech/tags/email.md>), [engine](<https://devfeed.tech/tags/engine.md>), [free](<https://devfeed.tech/tags/free.md>), [github](<https://devfeed.tech/tags/github.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [latest](<https://devfeed.tech/tags/latest.md>), [mit](<https://devfeed.tech/tags/mit.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open](<https://devfeed.tech/tags/open.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [restore](<https://devfeed.tech/tags/restore.md>), [supabase](<https://devfeed.tech/tags/supabase.md>)

## AI overview

BackupDrill checks whether Supabase Postgres backups can actually be restored: its drill restores the latest snapshot into a throwaway PostgreSQL container, verifies the archive checksum and restore completion, checks post-data objects and table presence, flags tables that previously held data if they are empty, and records restore time. The excerpt says the MIT-licensed CLI supports Supabase-hosted PostgreSQL, dumps the public schema by default, and allows additional schemas. A hosted service runs the same engine on a schedule and emails alerts for failed backups or drills; a free plan is available.

## Source excerpt

BackupDrill backs up Supabase Postgres databases to a bucket you own, then restores each backup into a throwaway PostgreSQL instance to check it restores. Most teams find out whether their pg_dump backups work on the day they need them. BackupDrill makes that check a routine step. What it does: Runs pg_dump (custom format) against a Supabase project and streams the archive to any S3-compatible bucket (AWS S3, Cloudflare R2, Backblaze B2, Wasabi), with a checksummed manifest. Storage files can be copied into the same snapshot. backupdrill drill restores the latest snapshot into a throwaway PostgreSQL container with pg_restore. It checks the archive checksum, that pg_restore completed, that post-data objects such as indexes, constraints and triggers were created, that every table is present and that tables which held data are not empty, and it records how long the restore took. Backups are plain pg_dump archives, so stock pg_restore can restore them without BackupDrill. It refuses to run a pg_dump whose major version is older than the server's. Supabase currently runs PostgreSQL 15 to 17. Scope: Supabase-hosted PostgreSQL only for now; the public schema is dumped by default and other schemas can be added. The CLI is MIT-licensed: https://github.com/backupdrill/cli (npm package: backupdrill). The hosted service at https://backupdrill.com runs the same engine on a schedule, with restore drills and email alerts when a backup or drill fails. It has a free plan.