Replies: 3 comments 4 replies
-
|
I see a bit of info there is supposed to be a warning about it removing data. If I read this correctly it does a db-reset. If you don't have a backup then only way would be to go to Pro for min one month and get the last daily backup which even though not documented every user that has done it says they are there. |
Beta Was this translation helpful? Give feedback.
-
|
The So what likely happened: the down migration dropped tables (not just altered schema), and the data in those tables went with them. Can you recover?On the free tier, Supabase does not provide point-in-time recovery (PITR). Your options:
Preventing this in the future
The |
Beta Was this translation helpful? Give feedback.
-
|
Hit something similar a while back a restore that looked fine but wasn't, and no way to know until it actually mattered. I'm building a small tool that backs up Supabase projects and then actually restores them on a schedule to prove the backup is good, instead of just assuming a scheduled backup means you're safe. Still early. If that's something you'd want to try once it's ready, happy to add you to an early access list no pitch, just trying to figure out if this is worth building for people who've actually hit this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am new to Supabase development. I am using the free tier along with Bolt.new for my app development. Today, I wanted to roll back the last couple of SQL migrations that had been implemented as they were causing issues with the application. I ran the following command:
npx supabase migration down --last 1 --linked
and it just deleted my entire database with all the data in there. I have no backups and would love to understand how can I get it back?
What did I do wrong here? Isn't this command supposed to rollback only the last migration sql that was run?
Beta Was this translation helpful? Give feedback.
All reactions