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
Tags:

Leave a Reply

Your email address will not be published.