Just a warning: This isn't a guaranteed way to backup MySql. If your database is large and sees frequent writes, it's quite likely that changes will be made to the database while it is being backed up, which can cause some serious issues for MySql. I tried using this process once, but any backup I tried to restore to was always corrupted and caused MySql to crash immediately because of the problem above.