How to Backup All Mysql Databases


In order to backup all mysql databases, you can run the following command in your linux command line:

The example below is configured with username “theuser” and password “thepass”.

mysqldump -utheuser -pthepass ?all-databases > all_dbs.sql