How to backup databases in MySQL mysqldump --user=root --password=root --databases db1 db2... > backup.sql