Check integrity of repository before backup.