The hard drive on my laptop died. Just before it gave up the ghost, I was able to rapidly copy the important data off it onto a USB stick. Grabbing /var/www, /var/lib/mysql, my home directory, /usr/local/ispconfig (as I've made a few custom changes) and so forth. Whereas most of these are recovered by nothing more than copying the files to the right places, "/var/lib/mysql" is a problem. The files in this directory are mostly, if not entirely, "InnoDB" databases. You can't just simply copy these into "/var/lib/mysql" and be done with it, as there's some sort of index files in the root of "/var/lib/mysql" that has to correspond with the actual database files. Trust me, I tried it and got nothing but errors in phpMyAdmin for my troubles. Indeed, it basically broke the mariadb-mysql installation rather horribly and I had to purge everything back to square one and reinstall from scratch, just to get mysql functioning again. Had this not been a mass file copy in a panic - I had to do it from a Live CD, in fact, as the disk failure was already preventing a clean boot - then I'd have done this in the more proper way of using "mysqldump" to write out a neat ".sql" file that I could just replay to restore the databases. But the disk was rapidly failing - no longer booting - so I'm rather lucky I even managed to just barely scrape off what I did by just copying all the crucial directories as quickly as I could. Is there any sort of tool that can take the raw data files in "/var/lib/mysql" and recreate a nice set of ".sql" files out of them? I'd like to get these sites / databases back because I was using my laptop for website development, you see. A few "work in progress" things that I'd rather not have to completely recreate from scratch, as it took a while to create them in the first place. Particularly when, logically, all the data is right there in the files. It's just a matter of working out how to get it all back out of there in a useful format.