PostgreSQL database data lost
ideiasnamesa
HOBBYOP

a month ago

Hello!

My project ideias-na-mesa-development lost all data (users, experiences, and profiles) between 2026-06-01 and 2026-06-03.

I discovered that the script prisma/seed.ts deletes data when it is executed.

Information:

  • Project: ideias-na-mesa-development
  • Service: rede-ideias-na-mesa (Postgres)
  • Last deployment with data: d4e6ad24-db66-4f32-8476-1df3a9f8fedd (2026-05-25)
  • First deployment without data: b953f83e-c47e-4a3a-8e79-8d780e391e36 (2026-06-03)

Is there any way to restore a snapshot of the Postgres volume?

Plan: Hobby

Thank you!

Solved

1 Replies

Railway
BOT

a month ago

Our databases are unmanaged, so automatic snapshots, WAL recovery, and PITR aren't available to recover your data unless you set up volume backups or PITR yourself. We don't recover data lost to user-initiated actions. Going forward, enable volume backups on your stateful services so you can self-restore if this happens again.


Status changed to Awaiting User Response Railway 29 days ago


Railway
BOT

22 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 22 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...