Gitlab Backup failed [8.0.5]

So I am trying to run the steps in this guide

However, the backup is failing, wha can be done about the skipping of Wiki. We don’t use Gitlab Wiki pages so how can we ignore this during backup.

Dumping database ...
Dumping MySQL database gitlabhq_production ... [DONE]
Compressing database ... [DONE]
done
Dumping repositories ...
 * rpcloud/rapi ... [DONE]
 * rpcloud/rapi.wiki ...  [SKIPPED]
 * rpcloud/rpwa ... [DONE]
 * rpcloud/rpwa.wiki ...  [SKIPPED]
 * rpcloud/rpcloud ... [DONE]
rake aborted!
ProjectWiki::CouldNotCreateWikiError: ProjectWiki::CouldNotCreateWikiError
/home/git/gitlab/app/models/project_wiki.rb:128:in `create_repo!'
/home/git/gitlab/app/models/project_wiki.rb:46:in `rescue in wiki'
/home/git/gitlab/app/models/project_wiki.rb:43:in `wiki'
/home/git/gitlab/app/models/project_wiki.rb:119:in `default_branch'
/home/git/gitlab/app/models/project_wiki.rb:115:in `repository'
/home/git/gitlab/lib/backup/repository.rb:116:in `path_to_repo'
/home/git/gitlab/lib/backup/repository.rb:33:in `block in dump'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:126:in `find_in_batches'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:51:in `find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/querying.rb:9:in `find_each'
/home/git/gitlab/lib/backup/repository.rb:10:in `dump'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:47:in `block (4 levels) in <top (required)>'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:12:in `block (3 levels) in <top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Gollum::NoSuchPathError: Gollum::NoSuchPathError
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-grit_adapter-1.0.0/lib/grit_adapter/git_layer_grit.rb:290:in `rescue in initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-grit_adapter-1.0.0/lib/grit_adapter/git_layer_grit.rb:285:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/git_access.rb:16:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/git_access.rb:16:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/wiki.rb:227:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/wiki.rb:227:in `initialize'
/home/git/gitlab/app/models/project_wiki.rb:44:in `new'
/home/git/gitlab/app/models/project_wiki.rb:44:in `wiki'
/home/git/gitlab/app/models/project_wiki.rb:119:in `default_branch'
/home/git/gitlab/app/models/project_wiki.rb:115:in `repository'
/home/git/gitlab/lib/backup/repository.rb:116:in `path_to_repo'
/home/git/gitlab/lib/backup/repository.rb:33:in `block in dump'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:126:in `find_in_batches'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:51:in `find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/querying.rb:9:in `find_each'
/home/git/gitlab/lib/backup/repository.rb:10:in `dump'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:47:in `block (4 levels) in <top (required)>'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:12:in `block (3 levels) in <top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Grit::NoSuchPathError: /home/git/repositories/rpcloud/rpcloud.wiki.git
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gitlab-grit-2.7.3/lib/grit/repo.rb:54:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-grit_adapter-1.0.0/lib/grit_adapter/git_layer_grit.rb:286:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-grit_adapter-1.0.0/lib/grit_adapter/git_layer_grit.rb:286:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/git_access.rb:16:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/git_access.rb:16:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/wiki.rb:227:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/gollum-lib-4.0.3/lib/gollum-lib/wiki.rb:227:in `initialize'
/home/git/gitlab/app/models/project_wiki.rb:44:in `new'
/home/git/gitlab/app/models/project_wiki.rb:44:in `wiki'
/home/git/gitlab/app/models/project_wiki.rb:119:in `default_branch'
/home/git/gitlab/app/models/project_wiki.rb:115:in `repository'
/home/git/gitlab/lib/backup/repository.rb:116:in `path_to_repo'
/home/git/gitlab/lib/backup/repository.rb:33:in `block in dump'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:52:in `block in find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:126:in `find_in_batches'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/relation/batches.rb:51:in `find_each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.1.12/lib/active_record/querying.rb:9:in `find_each'
/home/git/gitlab/lib/backup/repository.rb:10:in `dump'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:47:in `block (4 levels) in <top (required)>'
/home/git/gitlab/lib/tasks/gitlab/backup.rake:12:in `block (3 levels) in <top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:backup:repo:create
(See full trace by running task with --trace)
cwainwright@rpcloud-builds.real.com[/home/git/gitlab]: sudo -u git -H /usr/local/bin/bundle exec rake
^Crake aborted!
Interrupt:
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/caching.rb:50:in `<module:Caching>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/caching.rb:26:in `<module:ActionController>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/caching.rb:5:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/base.rb:217:in `<class:Base>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/base.rb:164:in `<module:ActionController>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/actionpack-4.1.12/lib/action_controller/base.rb:5:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/responders-1.1.2/lib/responders/controller_method.rb:37:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/responders-1.1.2/lib/responders.rb:9:in `<module:Responders>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/responders-1.1.2/lib/responders.rb:3:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `block in require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.12/lib/active_support/dependencies.rb:247:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/devise-3.5.2/lib/devise.rb:7:in `<top (required)>'
/home/git/gitlab/config/application.rb:4:in `require'
/home/git/gitlab/config/application.rb:4:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `require'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)

So the reason for this is that some projects don’t a valid wiki setup in the repo. So by creating a dummy page I was able to make the backup progress.

As this is a source based installation and there is no console access, adding the Wiki pages is painful.