Is copying /var/lib/mysql a good alterntive to mysqldump?
Since I'm making a full backup of my entire debian system, I was thinking if having a copy of /var/lib/mysql directory is a viable alternative to dumping tables with mysqldump. are all informations needed contained in that directory? can single tables be imported in another mysql? can there be problems while restoring those files on a (probably slightly) different mysql server version? Yes Yes if the table is using the MyISAM (default) engine. Not if it's using InnoDB. Probably not, and if there is, you just need to execute mysql_upgrade to fix them To avoid getting databases in a inconsistent