On Wed, Jan 05, 2011 at 07:36:46AM -0500, Andy Graybeal wrote: > You use logrotate to manage your mysqldumps! Excellent idea. >
if you are using Debian, the command "savelog" is also often convenient to rotate a file at the beginning or end of a script. saveloq -q /var/backups/mysql/dump.sql.gz mysqldump ... | gzip -c > /var/backups/mysql/dump.sql.gz