Gitlab migration version inconsistency problem
Original server: bitnami version gitlab version 8.14.3
Target server: source installation gitlab version: 9.1.1
Backup method:
The original machine does not have a gitlab-rake command
Switch to git user, execute bundle command, and make backup
$/ opt/bitnami/apps/gitlab/htdocs$bundle exec bin/rake gitlab:backup:create RAILS_ENV=production
Modify the backup result storage directory:
/ opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml
$vim / opt/bitnami/apps/gitlab/htdocs/config/gitlab.ymlbackup: path: "/ opt/backup/gitlab" # modify the path
Target server:
$gitlab-rake gitlab:backup:restore BACKUP=1494230203
Reporting an error requires a lower version to reply to the message
Solution:
Downgrade the target server, synchronize the data, and then upgrade the version
Shengyuan server gitlab version