Wiping a volume in Railway does not remove database tables or data
chatay
FREEOP

2 months ago

Description

I am using Railway with a database service attached to a volume. When I wipe the volume, the operation completes successfully, but the database tables and data remain intact.

This behavior is unexpected, because wiping the volume suggests that all persisted database data should be removed.

Steps to Reproduce

  1. Create a Railway project with a database service (PostgreSQL/MySQL)

  2. Attach a volume to the database service

  3. Insert test tables and data

  4. Wipe the volume from the Railway dashboard

  5. Reconnect to the database

    Expected Behavior

    All database tables and data should be removed after wiping the volume.

    Actual Behavior

    • Database tables still exist

    • Data is still present

    • No schema or data reset occurs

    Impact

    This makes it difficult to:

    • Reset environments cleanly

    • Reproduce issues from a fresh database state

    • Reliably treat volume wipe as a destructive reset

Solved

3 Replies

2 months ago

Hi there,

I was unable to reproduce the issue.

Have you ensured services connected to the database are not writing data post-wipe?


Status changed to Awaiting User Response Railway 2 months ago


chatay
FREEOP

2 months ago

Hello,
All services were stopped during the wipe and no migrations or seeds were running post-wipe. i intentionally let the backend fail to make sure not writing any data.

as you see the tables are still present.


Status changed to Awaiting Railway Response Railway 2 months ago


2 months ago

Hello,
I am sorry, but I am also unable to reproduce this with the steps given.


Status changed to Awaiting User Response Railway 2 months ago


Railway
BOT

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


Loading...