Since version 5.1 GitLab CI is shipping as part of the GitLab omnibus package. This guide describes how to migrate GitLab CI from a source installation to an Omnibus package.
Update GitLab CI manually to the version that you will install using the omnibus package (at least 7.11). Follow the update manual for installation from sourse
sudo -u gitlab_ci -H bundle exec rake backup:create RAILS_ENV=production
This command will create a backup file in the tmp folder
(/home/gitlab_ci/gitlab_ci/tmp/backups/*_gitlab_ci_backup.tar.gz
). You can read more in the GitLab CI backup/restore documentation
This process is described in the instruction for enabling GitLab CI
Put backup file to directory /var/opt/gitlab/backups
.
Run the restore command:
sudo gitlab-ci-rake backup:restore
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。