a month ago
Hello Railway Support,
We need a consistent copy of our production service’s entire persistent volume for an isolated recovery check.
Our Factory application stores JSON records and receipts under /data. It currently has no maintenance mode or mechanism to block and drain all writes.
We understand that native backups cannot be exported or restored to an isolated test target, and that CLI directory downloads read the live volume.
Is there a supported procedure to stop the application completely, keep it stopped, and download the volume contents without restarting the application or triggering provider actions?
Specifically:
- Does volume file download work while the application is stopped?
- If not, is there a supported way to access the volume using a temporary utility process that does not start our application?
- What downtime, permissions, and charges would this require?
Please provide instructions only. Do not modify our resources.
Thank you.
1 Reply
a month ago
No, volume file download does not work while the application is stopped. The railway volume files and railway volume browse commands, as well as sftp/scp access, all go through an active deployment of the service the volume is attached to, so they read the volume while that service is running.
We don't offer a supported procedure for a temporary utility process that mounts the volume without starting your application. Each service can have only one volume, and only one deployment can be active and mounted on a service at a time. File access to a volume always goes through the service it is attached to.
Since there is no supported way to export the volume with the application stopped, we can't give downtime, permission, or charge figures for that procedure. Native volume backups are point-in-time snapshots of the whole volume taken at the storage level. That makes them crash-consistent but not application-consistent, and they can only be restored within the same project and environment. Restoring one stages a change that, once applied, redeploys your production service. You can find the details in the volume reference and the backups docs.
Status changed to Awaiting User Response Railway • about 1 month ago
24 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 • 24 days ago