Simple log rotation

Here's perhaps the simplest way to rotate logs. You'll have a max of 31 revisions and a rough idea of when they were created:


0 1 * * * mysqldump -u dbuser -pdbpasswd db | bzip2 >db.dmp-$(date +%d).bz2