5.1.42GA server with several dozen databases that range from hundreds of records to billions. Currently we backup the whole thing 1x/week to a gzipped file that ends up around 500G. Restoring anything from such a beast would be a difficult task.
Im wondering if it would make sense to backup each DB to a separate file. If I did this, how would the binary log 'flush' be handled? Do it for the first db dump or for each?
Currently we use: mysqldump -h<server> -u<user> -p<pw> --single-transaction --flush-logs --master-data=2 --all-databases --delete-master-logs --quick --routines --triggers | gzip > dump_all.sql.gz
Im wondering if it would make sense to backup each DB to a separate file. If I did this, how would the binary log 'flush' be handled? Do it for the first db dump or for each?
Currently we use: mysqldump -h<server> -u<user> -p<pw> --single-transaction --flush-logs --master-data=2 --all-databases --delete-master-logs --quick --routines --triggers | gzip > dump_all.sql.gz