diff options
author | James Lopez <james@jameslopez.es> | 2016-06-17 13:23:41 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-21 20:23:21 +0300 |
commit | 3a7eb38a7889ee067c470ca8f6d964218844287e (patch) | |
tree | 0cf3f2e3b93e603118d793267079b6e46c4ffe48 /doc/administration | |
parent | 6715402e2092f0def4b39ce5988138c0e10229ee (diff) |
added nice to have - rake task and some changes to docs
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/import_export.md | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/doc/administration/import_export.md b/doc/administration/import_export.md deleted file mode 100644 index 950899dc04b..00000000000 --- a/doc/administration/import_export.md +++ /dev/null @@ -1,66 +0,0 @@ -# Project import/export - -Existing projects running on any GitLab instance or GitLab.com can be exported -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 will not be possible if the import instance version is lower - than that of the exporter. - -## Exported contents - -- The following items will be exported: - - Project and wiki repositories - - Project uploads - - Project configuration including web hooks and services - - Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, - and other project entities -- The following items will NOT be exported: - - Build traces and artifacts - - LFS objects - -## Exporting a project and its data - -1. Go to the project settings page and find the Export button - - ![export_1](./img/export_1.png) - -1. Once the export is generated, you should receive an e-mail with a link to download the file - - ![export_3](./img/export_3.png) - -1. You can come back to project settings and download the file from there, or delete it so it -can be generated again - - ![export_4](./img/export_4.png) - -## Importing the project - -1. The new GitLab project import feature is at the far right of the import options on New Project - - ![import_1](./img/import_1.png) - -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 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 |