Export and Import
Export
You can export a GitLab project or a GitLab group from one GitLab to another by going to the respective project in the GUI and clicking on
‘Settings‘→’General‘→’Advanced‘→’Export Project’
You will then receive an email with a download link. Groups are handled in the same way.
The export form also describes which parts of a project or group cannot be exported.
If your projects are organised in groups, the group must first be exported and imported so that the group structure is created. You can then export and import the associated projects into this group.
Important Note
IDs from the Export GitLab are not known to the Import GitLab as long as the person in question has not logged in to the Import GitLab with the user ID. During an import, all rights and information about the unknown persons are lost.
It would therefore be advantageous if all project members have already logged in to the new server before the import, so that GitLab already knows the IDs and can set the roles correctly straight away.
Only the access rights can be reset manually afterwards. External identifiers must be set up separately in the target system by the RRZ.
Import
The import in GitLab works by creating a new project or a new group. The ‘Import project’ or ‘Import group’ option is available there.
After importing your projects to the new server, you must delete them from the old server. This is done via ‘Settings’→‘General’→‘Advanced’→‘Delete project’.