Database Migration Success, but lost data
amexn-me
HOBBYOP

2 years ago

I have migrated my postgres DB as requested by railway before, and I was using it. now when i checked, there are many data that was lost but was there 1 week back.

Solved

3 Replies

2 years ago

It sounds like you did not switch over your connection strings after migrating. Please re-migrate and ensure that you switch the connection strings over after doing so.


Status changed to Solved Railway about 2 years ago


amexn-me
HOBBYOP

2 years ago

Hi RC,

No, I have tried and got access to the DB. But the DB that is there right now has data till a date that is not relevant to the migration. My node server was connecting with the old variables till last week and data was saved to that instance, I dont know where its now.

To be precise:
containers-us-west-138.railway.app - This was the earlier DB Host link. Is there any chance of recovering lost data some sort?


2 years ago

Ray is correct in his assessment, Please re-migrate and ensure that you switch the connection strings over after doing so.


Loading...