Add support for backup rotation.