Apr 6, 2010 0
[HOW-TO] Back up all MySQL databases
To backup all or some of your MySQL databases, you’ll need mysqldump which comes bundled with mysql. If you have MySQL installed, you probably have mysqldump installed already.
To backup all databases use the following command:
In linux:
mysqldump -uroot -ppassword --all-databases | gzip > /media/disk-2/db.sql.gz
In Windows:
mysqldump -uroot -ppassword --all-databases > db.sql
This will backup all your databases from a single command.
Read the rest of this entry »

