Skip to content
Technical guidance: consistent backup and verified export of live Railway volume
malcadors-hub
OP

5 hours ago

We're preparing a recovery procedure for an existing production service and need to confirm the supported method before making any changes.

Our service has a 500 MB persistent volume with approximately 324 MB in use. It contains SQLite databases operating in WAL mode, application journals and other mutable state.

We're looking for guidance on three points.

  1. Consistent volume capture

Is there a supported way to establish an immutable, internally consistent snapshot of the volume while application writers are stopped or quiesced, then resume those writers while the snapshot remains accessible for export?

We need to preserve both database transactions and associated application journals at a common cutoff.

If this requires stopping the service, can the volume remain accessible through an independently supported recovery or export mechanism?

  1. Secure binary transfer

We have tested native SFTP connectivity, but need to independently authenticate the SSH gateway before trusting the connection.

Can Railway provide an authoritative SSH host-key fingerprint for ssh.railway.com, together with the recommended verification procedure?

  1. Recovery options and costs

Given that our current usage exceeds the 50% manual-backup capacity threshold, what supported options are available for obtaining a consistent backup?

We would also like to understand whether an isolated restoration is supported, what service interruption or redeployment is required, and what costs would apply to the recommended method.

Awaiting User Response

3 Replies

Railway
BOT

5 hours ago

A volume backup is a point-in-time snapshot of the whole volume, so your SQLite databases, WAL files and journals on that volume are captured together at one cutoff. It is crash consistent, not application consistent: we don't pause your app or coordinate transactions. If you quiesce writers before triggering a manual backup, the snapshot reflects that state, and writers can resume while the backup stays in the service's Backups tab.

Backups can't be downloaded as an archive. File access through railway volume files, SSH or SFTP needs a running service attached to the volume, so stopping the service leaves no separate export path.

We don't publish host-key fingerprints, a known_hosts entry or an SSHFP record for ssh.railway.com. It is served by multiple hosts with their own keys, which change without notice, so we can't provide an authoritative fingerprint.

Manual backups are limited to 50% of the volume's size. Growing the volume with Live Resize, which runs without downtime, raises that ceiling. Backups are incremental and billed for their exclusive data at volume storage rates (pricing).

Restores stay within the same project and environment. A restore creates a new volume and stages a swap onto it, and deploying that change redeploys the service, so it is not an isolated restore. See the backups guide.


Status changed to Awaiting User Response Railway • about 5 hours ago


Railway

A volume backup is a point-in-time snapshot of the whole volume, so your SQLite databases, WAL files and journals on that volume are captured together at one cutoff. It is crash consistent, not application consistent: we don't pause your app or coordinate transactions. If you quiesce writers before triggering a manual backup, the snapshot reflects that state, and writers can resume while the backup stays in the service's Backups tab. Backups can't be downloaded as an archive. File access through `railway volume files`, SSH or SFTP needs a running service attached to the volume, so stopping the service leaves no separate export path. We don't publish host-key fingerprints, a known_hosts entry or an SSHFP record for `ssh.railway.com`. It is served by multiple hosts with their own keys, which change without notice, so we can't provide an authoritative fingerprint. Manual backups are limited to 50% of the volume's size. Growing the volume with [Live Resize](https://docs.railway.com/volumes), which runs without downtime, raises that ceiling. Backups are incremental and billed for their exclusive data at volume storage rates ([pricing](https://docs.railway.com/pricing/plans#resource-usage-pricing)). Restores stay within the same project and environment. A restore creates a new volume and stages a swap onto it, and deploying that change redeploys the service, so it is not an isolated restore. See the [backups guide](https://docs.railway.com/volumes/backups).

malcadors-hub
OP

5 hours ago

Thanks for the detailed response.

Could this be escalated to a human support engineer for clarification on two remaining points?

1. Snapshot timing and application quiescence

If we keep the service running but temporarily prevent all application writes, can you confirm precisely when the point-in-time snapshot is established and how we can reliably identify when writers can resume?

We want to avoid holding application writes for the entire backup-processing period if the actual snapshot cutoff is established earlier.

2. Establishing the first recovery point

We currently have no production backup, and introducing an application-level write-quiescence mechanism would itself require a deployment.

Is there a supported procedure for obtaining an initial consistent recovery point without first deploying new application code? For example, a support-assisted capture or another method that maintains volume access while preventing writes?

We're happy to upgrade our plan and resize the volume if necessary, but want to establish a safe sequence before making changes.

We are not requesting any production action at this stage, only technical guidance.

Thanks.


Status changed to Awaiting Railway Response Railway • about 5 hours ago


Railway
BOT

3 hours ago

On snapshot timing, the backup captures the whole volume at a single point in time rather than copying files over a period, but we can't give you a precise moment or a dashboard signal that marks when that cutoff is established during a manual backup. The backup appearing in the service's Backups tab is the only confirmation available. If your procedure depends on releasing writers before that, we'd recommend timing it against a backup of a test volume in a separate environment first.

On the first recovery point, we don't offer a support-assisted capture or a way to freeze writes on a running service's volume. Without application-level quiescence, a manual backup is still crash consistent: your SQLite databases, WAL files and journals on that volume are captured together, and recovery relies on SQLite's own crash recovery, the same as after a sudden power loss. It does not guarantee that writes still buffered in your application were included, or that the journals line up with the databases at an application-level boundary. Taking one now gives you a recovery point to fall back on before you deploy a quiescence mechanism, after which you can take an application-consistent backup.


Status changed to Awaiting User Response Railway • about 3 hours ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...