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”.

[code lang=”bash”]
mysqldump -utheuser -pthepass –all-databases > all_dbs.sql
[/code]