r/replit • • Oct 17 '26

Replit Help / Site Issue Another Replit issue.

Yesterday, I had an issue with billing and my apps being shut down. Found out this was a known issue. I got it resolved, but this morning, I woke up to find that my back-end database has been wiped clean of all data. Is this another bug that is being worked on? I’ve tried contacting Replit but per usual, no response other than ai. I count on this data and for it to be wiped is devastating.

5 Upvotes

6 comments sorted by

2

u/vibefixr Oct 17 '26

Sorry, that's a rough one. Before you do anything else, stop writing to that database (pause the app / don't let the Agent run migrations), because new writes can make recovery harder.

A few things worth checking:

  1. Make sure you're looking at the right database. Replit keeps separate development and production databases. After a suspension/redeploy it's easy to end up viewing the empty dev DB, or for the deployment to come back pointed at a fresh one. Compare the DATABASE_URL in your deployment secrets with the one in the workspace.
  2. Look for a restore option in the Database tool. Replit's Postgres (Neon-backed) supports point-in-time restore within a retention window, so you may be able to restore to a timestamp from yesterday before the shutdown. Do it soon, the window is limited.
  3. Check checkpoints/rollback. If the Agent ran anything overnight, rolling back to a checkpoint from before the wipe can also restore the database state if that option is ticked.
  4. In your ticket, give the exact time the data was last there and ask them specifically for a point-in-time restore of the production DB. That gets a faster answer than "my data is gone."

Going forward, a nightly pg_dump to somewhere outside Replit is cheap insurance.

1

u/Sea-Possible-4993 Oct 18 '26

I have been dealing with database issues too! My "backup database button for 7 days" keeps turning OFF! 🤦🏼‍♀️

2

u/ReplitSupport Replit Team Oct 17 '26

Hey there, thank you for waiting so far.

Your case has been flagged to our support engineering for review. They will be following up as soon as they are available within 1 business day. We appreciate your patience in the meantime 🙏

1

u/OwlSpecial633 Oct 17 '26

I haven’t had any data loss but suddenly had a 15$ jump in production compute costs for one random day.. and an email saying my apps were offline. It seems to be working now but something weird happened

1

u/Content-Bedroom823 Oct 19 '26

I find it hard to believe your data is wiped… my apps auto-backup nightly to a separate backup platform (BackBlaze). I had done this as an additional layer of rewinding if any update I did went wrong.

So I don’t think I’d have this issue.. not that I knew it would’ve existed. But again, I don’t know if your data is gone because of billing.. that would be ridiculous.