Restoring a wiki that doesn't exist should produce a warning
Summary
Currently when restoring GitLab with /opt/gitlab/bin/gitlab-backup create REPOSITORIES_SERVER_SIDE=true SKIP=db CRON=1 if GitLab tries to restore a repository that doesn't exist, such as the design.git or wiki.git for a project they produce an error.
Given that the log level for this message is an error users (incorrectly) assume that something may have gone wrong. Considering that projects may not even have a wiki we should change the log level to a warning if it's a wiki.
Steps to reproduce
- Create a project without a wiki
- Do a backup of the gitlab instance
- restore the backup
- observe errors in the output
Example errors:
{"level":"error","msg":"restore: pipeline: 43 failures encountered: @hashed/10/f6/10f6b6ad5e069f3b97acb8979dc276b9a1c04beb48dd9fa7c8169a142879474a.wiki.git (path/to/project.wiki): server-side restore: repository not found
(...)