Production database data loss
Anonymous
HOBBYOP

an hour ago

Project: noorrix-backend-prod

Service: Postgres

After a networking config change + deploy, the Postgres container ran initdb

and all existing tables/data (populated production data including a cars table)

appear to be gone.

Please check:

  1. Is there a previous volume/disk for this Postgres service that still exists (detached)?
  2. Do you have any automated backups or point-in-time recovery for this instance?

This is time-sensitive — please help urgently.

Awaiting User Response

1 Replies

Railway
BOT

an hour ago

The Postgres service in your production project has no volume attached, so it was running on ephemeral container storage. When it redeployed, the filesystem was discarded and initdb created a fresh database. There is no detached volume or previous disk holding the old data. Our databases are unmanaged, so automatic snapshots, WAL recovery, and PITR aren't available to restore your data unless you've enabled them on the service. Going forward, attach a volume to your Postgres service so data persists across redeploys, and on Pro you can enable volume backups and point-in-time recovery from the service's Backups tab.


Status changed to Awaiting User Response Railway about 1 hour ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...