How to safely back up Volume files while all application instances are stopped
mkthero
HOBBYOP

6 hours ago

We need to make a consistent offline copy of a SQLite database and its

associated WAL/journal files from a Railway Volume.

We checked Railway CLI v5.44.1. Its volume files download command requires

an active deployment and transfers files through the service instance.

Therefore, it does not appear to provide access after all application

instances have stopped.

Before we approve any downtime, could you confirm:

  1. Is there an officially supported way to download selected files while

    all application instances are stopped, without deploying a helper or

    moving/replacing the original Volume?

    If not, please explicitly confirm this and identify the smallest

    supported alternative that preserves the original Volume.

  2. For that supported method, does Railway start a temporary worker or

    mount the Volume? What are the source write/metadata effects,

    permissions, consistency guarantees, and automatic retry behavior?

  3. What supported procedure confirms platform-managed instances have

    terminated, prevents automatic restarts/redeployments during the copy,

    and restores the exact previously deployed image afterward?

    Please distinguish restart policy from GitHub autodeploy behavior.

We understand that application-level SQLite writer shutdown must also

be verified separately on our side.

This is a request for guidance only. Please do not stop/restart services,

create a backup, modify files/settings, or detach/restore/move the Volume.

$10 Bounty

1 Replies

Railway
BOT

6 hours ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway about 6 hours ago


  1. No. You’ll need to deploy your application or deploy Filebrowser (and unmount then remount the volume to the new service) to access the volume.
  2. Filebrowser acts just like any other service, it can read/write to the volume.
  3. You can disable autodeploy on push in your service settings. You can also go to the deployments list to choose a deployment you want your service to deploy from.

Welcome!

Sign in to your Railway account to join the conversation.

Loading...