LOL, "I have some concerning news about your existing data"... Database gone

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)

From the Agent

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

You bet, anytime Paul!

1 Like