I need to migrate 100 repositories from GitLab 7.9.0 to GitLab Community Edition 11.8.3. Can anyone help to do the same?
Thanks in advance...
I used gitlab-rake gitlab:import:repos
command to restore all repositories and which worked without any issues. Reference: https://docs.gitlab.com/ee/raketasks/import.html
Old server (Source installation)
tar -cvzf repositories_27-3-2019.tar.gz -C /home/git/ ./repositories
scp repositories_27-3-2019.tar.gz sijo@10.10.10.178:/home/sijo
New server (Omnibus installation)
tar -xvf repositories_27-3-2019.tar.gz -C /var/opt/gitlab/git-data/
chown -R git:git /var/opt/gitlab/git-data/repositories_27-3-2019/
gitlab-rake gitlab:import:repos['/var/opt/gitlab/git-data/repositories_27-3-2019']
Note: Only repositories will get restored by using this command.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.