diff options
author | James Lopez <james@jameslopez.es> | 2016-06-17 12:12:14 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-21 19:23:21 +0200 |
commit | 6715402e2092f0def4b39ce5988138c0e10229ee (patch) | |
tree | 52f37b460eddc5c3fc1c739491f6e9bc18d93450 /doc/administration | |
parent | 604fb8bdca2ab6fc247a2006dfa8c5b665b0fd26 (diff) | |
download | gitlab-ce-6715402e2092f0def4b39ce5988138c0e10229ee.tar.gz |
added some extra nice tasks to have
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 ![import_1](./img/import_1.png) -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 ![import_2](./img/import_2.png) -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 |