© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
4 replies
Maik

Supabase-DB Backup and Restore

Hi Community,

I’m currently trying to back up my self‑hosted Supabase Postgres database. Right now, I’m using pg_dump and uploading the .dump file to S3. For restoration, I drop the database and restore it from the dump.

While the Postgres restore completes successfully, the supabase‑storage container fails to display files from my S3 bucket. I get errors indicating that the storage schema wasn’t backed up.

Can anyone advise:
1. How to fully back up a Supabase database, including all schemas (auth, public, storage, etc.) and data?
2. How to ensure the storage buckets and objects are preserved so that the supabase‑storage container can list and serve the files correctly?

Any guidance—or sample scripts—on achieving a complete backup and restore with everything working again would be greatly appreciated.

Thanks in advance!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

QQ About backup and restore
SupabaseSSupabase / help-and-questions
7mo ago
Backup Restore help
SupabaseSSupabase / help-and-questions
3w ago
how to pg_restore a supabase db
SupabaseSSupabase / help-and-questions
4y ago
supabase backup
SupabaseSSupabase / help-and-questions
2w ago