I use mysqldump to automatically output all my databases to a text file and save this dump as a backup. I use the -all-databases option, which removes my databases, but also deletes system databases (information_schema, phpmyadmin, etc.), which I don't need.
Is there a way to dump all my databases using mysqldump without explicitly naming them on the command line (so I donβt need to change the backup script every time I create a new database), but ignore all system databases?
source
share