diff options
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/import_export.md | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/administration/import_export.md b/doc/administration/import_export.md index adfb1993e76..950899dc04b 100644 --- a/doc/administration/import_export.md +++ b/doc/administration/import_export.md @@ -1,11 +1,11 @@ # Project import/export Existing projects running on any GitLab instance or GitLab.com can be exported -with all its related data and moved into a new GitLab instance. +with all its related data and be moved to a new GitLab instance. >**Note:** - This feature was [introduced][ce-3050] in GitLab 8.9 - - Importing may not be possible if the import instance version is lower + - Importing will not be possible if the import instance version is lower than that of the exporter. ## Exported contents @@ -41,8 +41,26 @@ can be generated again  -1. After choosing a namespace or path, you can then select the file prevoiusly exported +1. After choosing a namespace or path, you can then select the file exported previously  -1. Click on Import and the import now begins and you will see your newly imported project page soon +1. Click on Import to begin importing and you will see your newly imported project page soon + +[ce-3050]: https://gitlab.com/gitlab-org/gitlab-ce/issues/3050 + +## Advanced + +> The GitLab Import/Export version can be checked by using: + +```bash +cd /home/git/gitlab +sudo -u git -H bundle exec rake gitlab:import_export:version +``` + +> The current list of DB tables that will get exported can be listed by using: + +```bash +cd /home/git/gitlab +sudo -u git -H bundle exec rake gitlab:import_export:data RAILS_ENV=production +```
\ No newline at end of file |