- Important Notes
- Export a group
- Importing the group
- Version history
- Rate Limits
- Introduced in GitLab 13.0 as an experimental feature. May change in future releases.
Existing groups running on any GitLab instance or GitLab.com can be exported with all their related data and moved to a new GitLab instance.
The GitLab import/export button is displayed if the group import option in enabled.
Users with the Owner role for a group can enable import and export for that group:
- On the top bar, select Menu > Admin.
- On the left sidebar, select Settings > General > Visibility and access controls.
- Scroll to Import sources.
- Enable the desired Import sources.
Note the following:
- Exports are stored in a temporary directory and are deleted every 24 hours by a specific worker.
- To preserve group-level relationships from imported projects, run the Group Import/Export first, to allow projects to be imported into the desired group structure.
- Imported groups are given a
privatevisibility level, unless imported into a parent group.
- If imported into a parent group, a subgroup inherits the same level of visibility unless otherwise restricted.
- To preserve the member list and their respective permissions on imported groups, review the users in these groups. Make sure these users exist before importing the desired groups.
The following items are exported:
- Boards and Board Lists
- Subgroups (including all the aforementioned data)
- Wikis (Introduced in GitLab 13.9)
The following items are not exported:
- Runner tokens
- SAML discovery tokens
Users with the Owner role for a group can export the contents of that group:
- On the top bar, select Menu > Groups and find your group.
- In the left sidebar, select Settings.
- Scroll to the Advanced section, and select Export Group.
- After the export is generated, you should receive an email with a link to the exported contents in a compressed tar archive, with contents in NDJSON format.
Alternatively, you can download the export from the UI:
- Return to your group’s Settings > General page.
- Scroll to the Advanced section, and select Download export. You can also generate a new file by clicking Regenerate export.
You can export groups from the Community Edition to the Enterprise Edition and vice versa.
The Enterprise Edition retains some group data that isn’t part of the Community Edition. If you’re exporting a group from the Enterprise Edition to the Community Edition, you may lose this data. For more information, see downgrading from EE to CE.
Navigate to the New Group page, either via the
+button in the top navigation bar, or the New subgroup button on an existing group’s page.
On the New Group page, select the Import group.
Enter your group name.
Accept or modify the associated group URL.
Click Choose file
Select the file that you exported in the Export a group section.
Click Import group to begin importing. Your newly imported group page appears after the operation completes.
In GitLab 14.0, the JSON format is no longer supported for project and group exports. To allow for a transitional period, you can still import any JSON exports. The new format for imports and exports is NDJSON.
|Current version||Can import bundles exported from|
|13.0||13.0, 12.10, 12.9|
|13.1||13.1, 13.0, 12.10|
To help avoid abuse, by default, users are rate limited to:
|Export||6 groups per minute|
|Download export||1 download per group per minute|
|Import||6 groups per minute|
GitLab.com may have different settings from the defaults.