site banner

I Lost Some Stuff From The Database, Sorry

I've been pushing lately to fix up some of the giant outstanding code issues that made it hard to work on this. In no particular order, the codebase now has 70% code coverage and all routes with at least some coverage, Python has been updated to 3.13 (from 3.10), and all the packages have been updated, which probably fixes some security issues.

The last thing on this list was to get Postgres from Version 12 to Version 17. This, unfortunately, I screwed up a bit, thanks to a few dumb decisions and also discovering that one of my backup solutions was no longer working after I needed it. The end result is that we've lost some data; I'm not quite sure how much, but it should at least be under 24 hours.

Great apologies if anyone lost an effort-post.

The bad backup solution has been fixed, and better monitoring put in place so I'll know if that happens again; also, while I may literally never use this, I now have a better postgres update checklist that avoids this issue in, like, literally three separate ways, not counting the better backup validation.

40
Jump in the discussion.

No email address required.

shit happens. thanks for all of the stuff that goes well! we really appreciate it!

Thanks. Could be worse: you could be South Korean government IT.

Please explain.

G-Drive Fire Destroys 125,000 Officials' Data. (The "G" in G-Drive does not stand for "Google", but "Government".) No back ups.

Big Ouch.

All good bro, thanks for all you do to run this place!

You know where to find out postmortem template. You can use Gemini but be discreet about it. Drop a link to your PR in Slack when you're done.

(but srsly, thanks for your hard work and transparency)

Shit happens. Thanks for continuing to work on the Motte!

Thanks for the site! And please don’t sweat it

Thanks for all the hard work, Zorba, and for letting us know.