accidentally triggered
w0lf21
HOBBYOP

a month ago

Hi, I accidentally triggered a redeploy on my service (polla-mundial, project Mundial 2026 familia, US West region) about 15-20 minutes ago. My SQLite database was stored in the container's ephemeral filesystem (not properly mounted to a volume). The new container replaced the old one and I lost user data. Is there any way to recover the previous container's filesystem or a snapshot? The deployment happened around [hora actual Ecuador] ECT on June 11, 2026.

Solved

3 Replies

Railway
BOT

a month ago

Your service actually has a volume attached, mounted at /app/backend/db with about 150 MB of data currently stored. If your SQLite file is inside that mount path, it should have survived the redeploy and may still be there. If you were writing the database to a path outside /app/backend/db, that data would have been on ephemeral storage and is not recoverable. Check whether your app is configured to store the SQLite file within the volume's mount path.


Status changed to Awaiting User Response Railway 26 days ago


Railway

Your service actually has a volume attached, mounted at `/app/backend/db` with about 150 MB of data currently stored. If your SQLite file is inside that mount path, it should have survived the redeploy and may still be there. If you were writing the database to a path outside `/app/backend/db`, that data would have been on ephemeral storage and is not recoverable. Check whether your app is configured to store the SQLite file within the volume's mount path.

w0lf21
HOBBYOP

a month ago

I still need help. The volume was mounted after the redeploy, so the current container doesn't see it yet. The volume shows 150 MB of data — could that be from a previous database? If so, how can I access those files or restore them? I don't have SSH access right now.


Status changed to Awaiting Railway Response Railway 26 days ago


Railway
BOT

a month ago

Your volume at /app/backend/db is in a healthy state with ~150 MB of data, so your SQLite database likely survived the redeploy. You can inspect and download the files right now using the Railway CLI: run railway volume browse / to open an interactive file browser, or railway volume files list / to list the contents, then railway volume files download to pull files locally.


Status changed to Awaiting User Response Railway 26 days ago


Railway
BOT

19 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 19 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...