how to do this (perhaps the command) I want to make one button called "backup" when I click that button it will automatically grab all the mysql database and ask me where I want to save.
http://www.mysql.com/doc/en/mysqldump.html
Read it, learn it.