- Introduced in GitLab 8.9.
- Importing will not be possible if the import instance version differs from that of the exporter.
- For GitLab admins, please read through Project import/export administration.
- For existing installations, the project import option has to be enabled in
application settings (
/admin/application_settings) under ‘Import sources’. Ask your administrator if you don’t see the GitLab export button when creating a new project.
- Starting with GitLab 10.0, administrators can disable the project export option
on the GitLab instance in application settings (
/admin/application_settings) under ‘Visibility and Access Controls’.
- You can find some useful raketasks if you are an administrator in the import_export raketask.
- The exports are stored in a temporary shared directory and are deleted every 24 hours by a specific worker.
- Group members will get exported as project members, as long as the user has maintainer or admin access to the group where the exported project lives. An admin in the import side is required to map the users, based on email or username. Otherwise, a supplementary comment is left to mention the original author and the MRs, notes or issues will be owned by the importer.
- Project members with owner access will get imported as maintainers.
- Control project Import/Export with the API.
- If an imported project contains merge requests originated from forks, then new branches associated with such merge requests will be created within a project during the import/export. Thus, the number of branches in the exported project could be bigger than in the original project.
Existing projects running on any GitLab instance or GitLab.com can be exported with all their related data and be moved into a new GitLab instance.
|GitLab version||Import/Export version|
|11.1 to current||0.2.4|
The table reflects what GitLab version we updated the Import/Export version at. For instance, 8.10.3 and 8.11 will have the same Import/Export version (0.1.3) and the exports between them will be compatible.
The following items will be exported:
- Project and wiki repositories
- Project uploads
- Project configuration, including services
- Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities
- Design Management files and data
- LFS objects
- Issue boards
The following items will NOT be exported:
- Build traces and artifacts
- Container registry images
- CI variables
- Any encrypted tokens
- Merge Request Approvers
- Push Rules
Go to your project’s homepage.
Click Settings in the sidebar.
Scroll down to find the Export project button:
Once the export is generated, you should receive an e-mail with a link to download the file:
Alternatively, you can come back to the project settings and download the file from there, or generate a new export. Once the file is available, the page should show the Download export button:
The GitLab project import feature is the first import option when creating a new project. Click on GitLab export:
Enter your project name and URL. Then select the file you exported previously:
Click on Import project to begin importing. Your newly imported project page will appear soon.
Internalvisibility level is restricted, all imported projects are given the visibility of
To help avoid abuse, users are rate limited to:
|Export||1 project per 5 minutes|
|Download export||10 projects per 10 minutes|
|Import||30 projects per 10 minutes|