Database recovery and best practices

I just had a scary accident where cursor IDE inadvertently deleted my Supabase database . What is the best way to prevent such incidents. Can entire projects be backed up or only database and db objects? Any best practices?
3 Replies
ihm40
ihm402mo ago
For the first question, in terms of best practices (particularly around using LLMs) it's worth reading this section of the docs https://supabase.com/docs/guides/getting-started/mcp#security-risks
Model context protocol (MCP) | Supabase Docs
Connect your AI tools to Supabase using MCP
ihm40
ihm402mo ago
For the 2nd question in terms of best practices, i don't think you can update a whole project as backups mainly focus on a database but using git you should be able to check in to version control a lot of conifg/code Also to confirm, did you get your data back via restoring a backup?
BrightMind2024
BrightMind2024OP2mo ago
Thank you! Yes, I restored the data from the back up.

Did you find this page helpful?