I am using the following command to backup all mysql databases in script that is run as cronjob.
mysqldump -u root -p'***' --all-databases > backupdb.sql
I have added new databases recently and I noticed that the new databases are not saved in the backupdb.sql
. What am I missing?
mysql>show databases
does show all the new databases.