gitlab-org--gitlab-foss/doc/administration/raketasks/project_import_export.md

752 B

Project import/export

Note:

  • This feature was introduced in GitLab 8.9
  • Importing will not be possible if the import instance version is lower than that of the exporter.

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

# Omnibus installations
sudo gitlab-rake gitlab:import_export:version

# Installations from source
bundle exec rake gitlab:import_export:version RAILS_ENV=production

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

# Omnibus installations
sudo gitlab-rake gitlab:import_export:data

# Installations from source
bundle exec rake gitlab:import_export:data RAILS_ENV=production