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:
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments