You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
My team came across a bug and we were going to use a database backup from a couple days ago to see the data in the database at that time. We can't find an easy, straightforward way, using the CLI, to start the Supabase project locally but simply using the backup file as the data source. It has a lot of commands in the backup that error out if we try to use it on an existing Supabase project locally. We've tried running supabase db reset without applying any migrations because they should be in the backup, and that still didn't work.
Describe the solution you'd like
It would be nice to have a supabase db restore command that would accept a backup file from the Supabase dashboard and restore the local database according to the data in the backup file.
Is your feature request related to a problem? Please describe.
My team came across a bug and we were going to use a database backup from a couple days ago to see the data in the database at that time. We can't find an easy, straightforward way, using the CLI, to start the Supabase project locally but simply using the backup file as the data source. It has a lot of commands in the backup that error out if we try to use it on an existing Supabase project locally. We've tried running
supabase db reset
without applying any migrations because they should be in the backup, and that still didn't work.Describe the solution you'd like
It would be nice to have a
supabase db restore
command that would accept a backup file from the Supabase dashboard and restore the local database according to the data in the backup file.Describe alternatives you've considered
We've tried following this guide https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects#restore-to-your-new-project, but it seems a little overkill for and not quite the behavior we require.
Additional context
None.
The text was updated successfully, but these errors were encountered: