Reputation: 59
we are migrating from self hosted gitlab to gitlab.com subscription. We have parent 28 group and under these groups there are multiple subgroups and projects.
I know I can export one group and it will export all the subgroups under it and then I can import it.
but documentation says to export/import single project at a time. I have almost 3000+ Projects and doing this things 3000+ time is not possible.
Can you please suggest me How can I export/import all the projects under a group regardless it is in a group or under someother subgroup in hierarchy ?
or is there any other way ?
Upvotes: 5
Views: 11031
Reputation: 336
A simpler option might be to "Migrate groups by direct transfer" https://docs.gitlab.com/ee/user/group/import/
You can migrate GitLab groups:
- From self-managed GitLab to GitLab.com. - From GitLab.com to self-managed GitLab. - From one self-managed GitLab instance to another. - Between groups in the same GitLab instance.
Upvotes: 0
Reputation: 2355
You will need to write scripts that interact with the GitLab API to perform the migration of groups/orgs, projects, branches, and merge requests. See the following post on GitLab's forum for guidance.
Upvotes: 0