Also lock repository when doing backups to remote locations.