Original link: MySQL Basics: Don’t Lose It—Backing Up and Restoring Your Database / Oracle blog.
I did not know this way. I have always used the old mysqldump. :-)