Restoring of empty projects fails
Created by: ghost
I'm attempting to migrate an Omnibus GitLab 7.4.3 hosted on CentOS6 to another CentOS6 machine, using backup and restore. The source instance runs "gitlab-rake gitlab:backup:create" every night, and I copied the resulting tarball to the freshly installed destination instance, where I then tried:
gitlab-rake gitlab:backup:restore BACKUP=1415689405
Apart from the database problems mentioned in #8292 (closed), the restore operation also dies when restoring a project that was just created by a user in his personal namespace, but did not have any commits pushed to it yet:
Restoring repositories ...
[... lots of repos restore fine ...]
sveer/sander ... [FAILED]
Restore failed
It turns out the backup tar file does not have a .bundle file for this project. The backup output itself shows [SKIPPED] for it.
However, I would expect restore to be able to handle this? The problem is that it now aborts in the middle of the restore, and the resulting GitLab instance is then half-configured... :(