updated based on feedback

This commit is contained in:
James Lopez 2016-06-17 18:05:51 +02:00 committed by Achilleas Pipinellis
parent acc1ea9d9f
commit 8b7224d91e
1 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Project import/export # Project import/export
Existing projects running on any GitLab instance or GitLab.com can be exported Existing projects running on any GitLab instance or GitLab.com can be exported
with all its related data and be moved into a new GitLab instance. with all their related data and be moved into a new GitLab instance.
>**Note:** >**Note:**
- This feature was [introduced][ce-3050] in GitLab 8.9 - This feature was [introduced][ce-3050] in GitLab 8.9
@ -53,15 +53,13 @@ can be generated again
The GitLab Import/Export version can be checked by using: The GitLab Import/Export version can be checked by using:
```bash ```bash
cd /home/git/gitlab sudo gitlab-rake gitlab:import_export:version
sudo -u git -H 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: The current list of DB tables that will get exported can be listed by using:
```bash ```bash
cd /home/git/gitlab sudo gitlab-rake gitlab:import_export:data
sudo -u git -H bundle exec rake gitlab:import_export:data RAILS_ENV=production
``` ```
[ce-3050]: https://gitlab.com/gitlab-org/gitlab-ce/issues/3050 [ce-3050]: https://gitlab.com/gitlab-org/gitlab-ce/issues/3050