Recover automatic backup from removed deployment
mostafareda12
FREEOP

9 days ago

Hello Railway Support,

I need urgent help recovering an automatic backup file from a removed deployment.

Project ID:

eb7eefa5-2e49-4b77-a954-c8c0360a78b1

Service ID:

336f8d12-c5f5-4600-a8a5-9c5f9803fabe

Removed deployment ID:

2363c91b-edf9-4ce6-9da2-9ca6e9a675d1

Repository:

MostafaReda12/party-star-agency

The application uses SQLite and has an automatic backup system.

The old deployment logs explicitly show that the following backup files were successfully created:

auto_2026-08-06_0100.json

auto_2026-08-07_0100.json

auto_2026-08-08_0100.json

auto_2026-08-09_0100.json

auto_2026-08-10_0100.json

auto_2026-08-11_0100.json

auto_2026-08-12_0100.json

The specific file I urgently need to recover is:

/app/backups/auto_2026-08-12_0100.json

The current deployment no longer contains this backup. The /app/backups directory is empty.

The application source code confirms that automatic backups are written to /app/backups using fs.writeFileSync.

This backup contains important production data that is no longer available in the current SQLite database.

Could you please check whether the filesystem, container snapshot, deployment snapshot, or any other internal recovery mechanism for the removed deployment is still available?

If possible, please recover or provide access to:

/app/backups/auto_2026-08-12_0100.json

Please do not delete or overwrite any potentially recoverable data.

Thank you.

Solved

1 Replies

Railway
BOT

9 days ago

Your service does not have a persistent volume attached, so the /app/backups/ directory was part of the container's ephemeral filesystem, which is discarded whenever a deployment is removed or replaced. Those backup files cannot be recovered. Going forward, attaching a volume to the service will ensure files written to the mount path persist across redeploys.


Status changed to Awaiting User Response Railway 9 days ago


Railway
BOT

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...