My blog died some time ago. In order to explain why it died, here’s a little background:
I had 2 servers: a home server and a VPS. The VPS hosted my blog (a multi-site wordpress instance) and my IRC bouncer. My Home server hosted my ownCloud (now hosting NextCloud) and a bunch of media services. They are all configured with Docker using the official images from each project. When I started making this set-up, I didn’t know about docker-compose, so I made my own scripts that would run the docker commands needed to update and run my containers, including the back-up scripts for my blog.
And here comes the problem, the back-up scripts: my script got a DB dump (an SQL file) and an snapshot archive of the wordpress instance, when ever it was called. Inisially I made the script to get those 2 items and put them both in a single archive, but at some point (I can’t for the life of me remember why) I removed that functionality, and thus only remained with separate .sql and .tar.gz files. So, later in life, when I wanted to clean up the old backups, I deleted the old archives and db dumps, and forgot that I don’t have a single archive for each backup, so I deleted ALL the DB dumps… Yeah… I know now… Face palm moment…
Some time passed, and I wanted to give up the VPS, and move everything to my home server. I’m using Docker, so that should be pretty straight forward, right? WRONG!!! MySQL went against me. Now I know that sometime when I upgraded the mysql version, the DB got kind of corrupted. In short, the data was there, „SHOW TABLES;” showed all the tables, but „SELECT * FROM