R
Railwayβ€’3mo ago
sohcah

Volume Migration Deleted Data

Just migrated my Postgres database Volume from the Oregon to the Virginia region, and suddenly loads of data is gone.
No description
28 Replies
Percy
Percyβ€’3mo ago
Project ID: 03366656-1bad-4591-bfdd-134b17afd697
sohcah
sohcahOPβ€’3mo ago
03366656-1bad-4591-bfdd-134b17afd697
Brody
Brodyβ€’3mo ago
@Nico - data loss via migration? point us to the service in question please
Brody
Brodyβ€’3mo ago
thank you
Nico
Nicoβ€’3mo ago
ack, looking into this
sohcah
sohcahOPβ€’3mo ago
I had previously migrated 2 other volumes (for CZ3 OTA and CZ3 Assets) and they both went smoothly. I've got a dump of basically all important data from earlier today, so if the data from just prior to migration can't be restored, I should be able to restore that dump if necessary --- but if I'm able to get the data from just prior to migration restored, that would be better.
pierre
pierreβ€’3mo ago
Just to confirm, is the data actually missing, or could it be the usage metric only?
sohcah
sohcahOPβ€’3mo ago
No description
sohcah
sohcahOPβ€’3mo ago
Gone so far as Postgres suggesting database does not exist.
pierre
pierreβ€’3mo ago
thanks, we are investigating
sohcah
sohcahOPβ€’3mo ago
Thanks for the quick responses! Was feeling pretty hopeful about this working correctly based on the 2 larger, unimportant ones migrating correctly - wish one of those had failed instead of this! πŸ˜‚
pierre
pierreβ€’3mo ago
really sorry about this the migration workflow appears to have worked correctly (taking a snapshot and restoring it to the new volume) we are investigating why this led to an empty volume we'll keep you posted as soon as we have an update
sohcah
sohcahOPβ€’3mo ago
πŸ‘ One thing I realise I didn't mention initially, but I realise now might be important - at the same time as switching the service's region, I also changed the runtime from Legacy to V2.
pierre
pierreβ€’3mo ago
Not sure if that's relevant, but thanks for the info Still looking into the issue, will keep you posted
sohcah
sohcahOPβ€’3mo ago
Do you think there's any chance of getting the data from prior to the migration restored? If this isn't likely, I'd probably prefer to sooner-than-later spend some time restore my older backup and get caches refilling, and deal with the slight data loss.
pierre
pierreβ€’3mo ago
I just recovered a dump from 3:41 (UTC+2) I can send it over. Are you ok with restoring a dump yourself? Depending on which dump is the freshest (yours or the one I just recovered), I can send it over
sohcah
sohcahOPβ€’3mo ago
Looks like my dump is slightly fresher -- but yours might be more complete, so would appreciate having that just in case there's any data I need from it that isn't in mine.
pierre
pierreβ€’3mo ago
(just to be clear 3:41pm UTC+2) I'll send it over
sohcah
sohcahOPβ€’3mo ago
Thanks!
pierre
pierreβ€’3mo ago
The dump is too big for discord, I'm posting it on gcs, will be right back I'll send you the link via dm could you please accept the request?
sohcah
sohcahOPβ€’3mo ago
Accepted
pierre
pierreβ€’3mo ago
Once again, apologies for this issue We opened a ticket to investigate how a seemingly successful migration ended up with an empty volume
Nico
Nicoβ€’3mo ago
Hey @sohcah, I've gone ahead and added $250 of credits to your team for the trouble caused by the issue. Hope this helps !
sohcah
sohcahOPβ€’3mo ago
Thank you, that is most appreciated! Appreciate all of the quick responses and support here, especially on a US Public Holiday!
Brody
Brodyβ€’3mo ago
hey @sohcah just wanted to circle back, where you able to restore the dump and resume operations?
sohcah
sohcahOPβ€’3mo ago
Yep - got all public systems back up and running yesterday. Still a few bits for some internal systems I need to clean up, but I've got all of the data I need to do so, and that's very low priority.
Brody
Brodyβ€’3mo ago
awesome, glad you where able to get everything back up and running, do you think it's okay to mark this as solved?
Want results from more Discord servers?
Add your server