Project import/export

Note:

  • Introducedin GitLab 8.9.
  • Importing will not be possible if the import instance version is lower than that of the exporter.
  • For existing installations, the project import option has to be enabled in application settings (/admin/application_settings) under 'Import sources'.
  • The exports are stored in a temporaryshared directoryand are deleted every 24 hours by a specific worker.

The GitLab Import/Export version can be checked by using:

# Omnibus installationssudogitlab-rake gitlab:import_export:version# Installations from sourcebundleexecrake gitlab:import_export:versionRAILS_ENV=生产

The current list of DB tables that will get exported can be listed by using:

# Omnibus installationssudogitlab-rake gitlab:import_export:data# Installations from sourcebundleexecrake gitlab:import_export:dataRAILS_ENV=生产
Baidu
map