My database is lost
jimba
HOBBYOP

2 years ago

My Postgres database service stopped working. It shows No deploys for this service. I already migrated to the new plugin last year but I did not delete the legacy plugin.

I was working on my project today when I noticed that the database connection failed. I immediately logged in to Railway and discovered it was because my monthly subscription had expired. I made the payment instantly and it was successful but now I can't find my database.

I noticed that it has changed the connection variables.

This is not the first time my subscription will expire. Previously, when it expires and I pay, it displays an option to start the paused service but now I can't find the service. It displays No deploys for this service.

Please help. I have no backup and the project is in production.

Solved

5 Replies

2 years ago

give this bookmarklet a try at re-deploying your database

https://bookmarklets.up.railway.app/service-redeploy/


jimba
HOBBYOP

2 years ago

Thanks much. It works but it is restored to an old version of the database.

How can I migrate to my latest db?

Also, my application can't access the db cos the connection variable changed. Do I need to change the connection variables?


2 years ago

happy to help!


jimba
HOBBYOP

2 years ago

Hi, brody. Please check my updated message. Maybe you can help. Thanks.


2 years ago

please use reference variables so that your variables will always be in sync


Status changed to Solved Railway about 2 years ago


Loading...