[英]Restore GitLab 6.9.1 backup to new GitLab 7.14 instance
我正在構建一個新服務器,以在Ubuntu 14.04 LTS
上從GitLab 6.9.1升級到最新版本的GitLab
(7.14.1)。
我使用以下命令創建了GitLab
實例的備份: sudo gitlab-rake gitlab:backup:create
我已將備份復制到新服務器,並將其放置在/var/opt/gitlab/backups/
。
當我運行命令以使用新的GitLab實例在新服務器上還原備份時
sudo gitlab-rake gitlab:backup:restore BACKUP=1442406091
我收到以下錯誤:
Unpacking backup ... done
GitLab version mismatch:
Your current GitLab version (7.14.3) differs from the GitLab version in the backup!
Please switch to the following version and try again:
version: 6.9.1
Hint: git checkout v6.9.1
我已經在GitLab文檔中閱讀到,只能從相同版本的GitLab進行還原,但是有一種方法可以將備份從6.9.1還原到新的7.14實例。
做了一些非常相似的事情之后,我發現起作用的唯一方法是從https://about.gitlab.com/downloads/archives/還原為安裝與舊安裝(6.9.1)相同的版本,從備份中升級到gitlab-ce,然后使用apt-get upgrade gitlab-ce
。 希望能有所幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.