0

We used GitLab 6.7.2 server and now we've set up a new GitLab 12.1.6 Server. So I want to migrate only one Project from GitLab 6.7.2 to GitLab 12.1.6. What the best way I can do?

Because the GitLab 6.7.2 were holding so many projects, so I can't upgrade it to the version 12.1.6 to use backup and restore function, all projects is private projects so I can't use the import url function from Gitlab 12.1.6 too. I thought I can clone the project from old GilLab and push it to new GitLab but It seem not a good way, because I want to have Wiki, merge request history ... in new Gitlab.

Git clone [old GitLab]
Git fetch -a
Git pull --all

Git push --all [to new GitLab]

The best way I can do to migrate a project from Gitlab 6.7.2 to Gitlab 12.1.6

  • Create a new origin pointing to the new GitLab server's repository and push the codebase to that instead (assuming it's a different URL). – alex Sep 12 '19 at 14:12

1 Answers1

0

If you want to have all the information, then you'll need to update the instance or a copy of the instance to at least 11.1 so that the project export/import versions match, then export the project and import it into the new instance.

If that's not an option, there are a few things you can export/import, but won't cover everything:

Arty-chan
  • 2,572
  • 1
  • 19
  • 25