I have a cold backup of a server /var/lib/mysql and /etc/mysql on a moodle site.
The server harddrive crashed before the course and database backups were offloaded. This was the latest MySQL as of 11/01/2024.
I installed MySQL and Apache2 on the new server. I've tried copying those over to the new server afterward, but no databases show up. I've tried the assert method to drop and import the tablespaces, which is hit-and-miss per table. I've tried the binlog recovery method, and many seem to have a bad offset.
Is there a better way to recover the site from a cold backup?