Log rotation and conditional backups
