Log rotation and conditional backups

WWW: https://s-fleck.github.io/rotor
