Replit Agent’s reply after creating another database for me:
”Unfortunately, I have some concerning news about your existing data. When I checked the database, I found that all your previous data (training documents, conversations, system prompts, and prompt templates) appears to have been lost during the database migration process that was implemented for the workspace system.
Here’s what I found:
-
All data tables (documents, chats, messages, system_prompt_directives, prompt_templates) are completely empty
-
Even the users table was empty, which I’ve now restored with a default user”
Well, I’m glad I still have my data elsewhere!
I post this here as a lesson to us all: Replit can and will erase all your data in a blink of an eye. Keep backups.
I don’t blame Replit, necessarily (though, don’t we now have safeguards in place so this doesn’t happen?) It probably did exactly what I asked (or exactly what it thought I wanted). I think this is the nature of app development.
1 Like
This came from a Replit employee or from Agent?
Replit keeps backups for you (Neon-based PITR point-in-time-recovery)
Thanks. I updated the post, too.
I need to look that up. I still feel more comfortable keeping my own. But good to know.
Replit’s PITR is robust. Even the most horrendous of mistakes can be quickly rolled back. I think the default is 7 days, but configurable to longer (or shorter).
Vibe on!
1 Like
Thank you! Luckily I did not lose anything that couldn’t be redone. But it’s a good experience to have to learn things like what you shared here. Thanks again.
1 Like
How does one get access to their Neon backup files? You seem to know more
. We lost 3 weeks’ worth of everything.
Can you explain more about what happened?
Yes I can. It was a stupid mistake on my part.
I was extremely tired and stressed. I was trying to drop my production database to replace it with the development database. the ai agent kept trying to fuss with modifying it with lengthy unnecessary interations.
So I found the delete button on the database tab and I clicked on it and it gave me a warning which I accepted and deleted it. I was going to fast and looked at something else and I looked back at the button and it looked like it had not deleted the database which was annoying so I clicked the deletion button again. I did not realize that it HAD deleted the production database and it was showing me the development database.
I’m not sure if there is anything you could do other than automatically navigating something else. What kind of idiot proofing works on a stressed, tired, frustrated person? Dunno.
Do you already have a ticket number/case? Can you share it with me?
I believe we can do a point-in-time recovery for up to 2 weeks.
1 Like
Aleady fixed . thanks anyway