gitlab backup rake fails on empty project
Created by: t3mux
I wanted to back up our GitLab via gitlab-rake gitlab:backup:create but the backup fails on an empty repository/project with the following message:
failed: git --git-dir=/var/opt/gitlab/git-data/repositories/xx.git bundle create /var/opt/gitlab/backups/repositories/mirror/xx.bundle --all
error: rev-list died Backup failed
The hole backup process is stopped because of this.
I suggest the rake should leave out empty projects and continue backing up the other repositories.