Skip to content
Recover MySQL persistent volume before scheduled deletion
limchheanggg
OP

3 days ago

Hello Railway Support,

I need urgent assistance recovering my existing MySQL database for my AMS-Mart project.

My Railway trial has expired, and both my backend and MySQL services are now offline. I have switched to the Free plan ($0/month), as I cannot afford a paid subscription.

However, my original persistent volume, named mysql-volume, is still visible in my project.

Here are the details:

  • Project: AMS-Mart
  • MySQL service: MySQL
  • Volume: mysql-volume
  • Mount path: /var/lib/mysql
  • Maximum volume size: 500 MB
  • Previously observed storage usage: approximately 190 MB
  • Current service status: Offline
  • Deployment status: Removed
  • Backup status: No backups available
  • Volume status: Scheduled for deletion under Railway's data retention policy

I need to recover and export the existing database before the volume is permanently deleted.

Could you please help with:

  1. Temporarily restoring access to the existing MySQL volume.
  2. Allowing me to redeploy the original MySQL service using the existing volume without initializing or overwriting its data.
  3. Providing an opportunity to export the database to an external backup.

I am a student developing AMS-Mart as a research project, and this database contains important project data, including products, customers, sales, inventory, and memberships.

I cannot upgrade to a paid plan or provide payment details.

Please let me know if there is any supported way to recover this volume before its scheduled deletion.

Thank you for your assistance.

Awaiting User Response

1 Reply

Railway
BOT

3 days ago

Your mysql-volume is still attached to the MySQL service, in a ready state, with about 195 MB of data on it. The service is offline because its deployment was removed when the trial ended, not because the volume was wiped.

Your workspace is not on the Free plan yet. An expired trial is left with no plan, and nothing moves it onto Free automatically. To switch, open the Plans page and click Downgrade to Free under "...or downgrade your workspace". This option is not on the Billing page, and no payment is needed.

Once you're on Free, redeploy the MySQL service. The redeploy mounts the volume that is already attached, so it does not create a new database. After it is running, export your data with your own tools, such as mysqldump. On the Free plan, services run with App Sleeping and usage is limited to $1 of credit per month, so export the data soon after the service comes back.


Status changed to Awaiting User Response Railway • 3 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...