a year ago
With the big issue that's happened over the last hour, I tried to move regions from East to West. While this worked for all the other services, our mongoDB env was completely dropped. Is there any way to recover that data?
Looking specifically for staff from the Railway team to see if there's anything on your side to help us with this.
50 Replies
a year ago
!t
a year ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response brody • over 1 year ago
Hoping that y'all have access to some other MongoDB interface from the other region.
My guess is that you have migration scripts when moving from one region to another, but since the whole thing was down, it failed so it gave me a blank database
a year ago
is this effecting a production application with a userbase?
I had to migrate data from our staging environment to our production environment, as the production database was completely wiped
a year ago
@Ray - production database wiped during region migration
For context, we host websites for Funeral Homes. So people's obituary pages were down for a good hour
Thankfully our obits are stored in a separate datastore so none of that actual data was lost
a year ago
I'll defer to you guys if there is a backup… or if our data is still technically available in the east region. Open to any solution as long as we can get that data back
a year ago
To confirm, was this in the production environment and a migration from US East -> US West?
a year ago
Is the volume name the same before and after you performed the migration?
Correct, this was in the production environment. I migrated from US east to US west (as a possible solution to US east being down)
I did not change the volume name at all (I don't think I can since there is no volume attached)
a year ago
there is no volume attached…?
Replicas
The number of instances that will be run for each deployment of this service.
Replicas
1
Replication is only available for services that do not have a volume attached.
Unless I am misunderstanding the question… it doesn't look like we configured a volume
a year ago
screenshot of the database service please
a year ago
no
a year ago
Thanks for the info - going to investigate this now.
(No worries on the volume name, I only asked to make sure I'm looking at the correct thing)
a year ago
there is indeed a volume on the mongo service
I know these things take time but just getting a sense for timing—is this something I should expect a response about tonight or should I expect something more realistically tomorrow
(I also need to know so I can have our team re-create any data that was lost)
a year ago
@zackword sorry, was attempting to see if I can restore your data
Do you have anything in the database linked above currently?
a year ago
Can you also give me some table names so I can confirm?
We have our staging data in the DB now, I migrated it just to restore customers
Some table names- lol I think we everything is under the “test” database, and the tables would look like users, venues, pages
a year ago
Gotcha. Is it alright if I created a new database in your project so I can restore your previous data from US East into it?
a year ago
You should see a new Mongo service named "MongoDB-Restored"
Can you check if the data is accurate?
Guessing the best way to switch is to redeploy our app with the new mongodb service
a year ago
Yep, redeploy with MONGO_URI set to the new one.
a year ago
Super sorry about this, it should never happen. I've sent some credits your way (average of your past 3 month's bill) that will be used to offset your next bill
a year ago
Please let me know if you see anything off 🙏
a year ago
Me too 😅
Status changed to Solved ray-chen • over 1 year ago
