Is copying /var/lib/mysql a good alterntive to mysqldump?

Posted by kemp on Stack Overflow See other posts from Stack Overflow or by kemp
Published on 2010-03-20T09:17:21Z Indexed on 2010/03/20 9:21 UTC
Read the original article Hit count: 287

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about backup