12 days ago
Hello Railway Support,
I need help recovering data from my previous deployment.
My application was originally using a local JSON file as its database (not PostgreSQL at first). The JSON/database file was ignored from GitHub during deploys, but the application was working correctly and storing production data inside Railway.
Recently, my deployment failed and now I can no longer access the old data. The current PostgreSQL instance is empty, which makes me believe the original data may still exist in an old container, deployment, ephemeral filesystem, or volume associated with my project.
I would like to know if it is possible to recover:
- the previous deployment filesystem,
- old container files,
- attached volumes,
- snapshots,
- or any persisted JSON/database files from older deployments.
Project ID:
37143c51-388d-4b8d-a6b9-b700970e768a
Service ID:
5cd73dab-bed0-4550-98f0-568d115b1f04
1 Replies
12 days ago
The filesystem in Railway deployments is ephemeral, meaning any data written to it (such as your JSON database file) is lost when the deployment is stopped, redeployed, or fails. Your service has no volumes attached, so there is no persisted storage we can recover data from. Unfortunately, data written to the ephemeral filesystem of a previous deployment cannot be recovered, as it is permanently deleted when that deployment's container is removed.
Status changed to Awaiting User Response Railway • 12 days ago
Status changed to Solved luciano-rodrigo • 12 days ago