I usually just tar up the mysql dir. Probably not the safest thing to do if people are currently using it but in my situations nobody is ever using it when I do it so there are no open sessions or locks.
On unix machines just do:
tar -cvf mysqlbak.tar /var/lib/mysql
The official way isn't very hard to do either.. I just do this because it faster for me.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.