summaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-06-21 20:07:52 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-06-21 20:07:52 +0200
commitb2732f3af104fe31aed126505a5b7e4fa1a62f71 (patch)
tree01ede4c37e62a6dfac2232c69a9c99f6fd4972c9 /doc/administration
parent0c61fad74c877ff797578a3cb969c6e613b8df00 (diff)
downloadgitlab-ce-b2732f3af104fe31aed126505a5b7e4fa1a62f71.tar.gz
Refactor project import/export documentation
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/raketasks/project_import_export.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/administration/raketasks/project_import_export.md b/doc/administration/raketasks/project_import_export.md
new file mode 100644
index 00000000000..e5cb0308cbb
--- /dev/null
+++ b/doc/administration/raketasks/project_import_export.md
@@ -0,0 +1,28 @@
+# Project import/export
+
+>**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.
+
+The GitLab Import/Export version can be checked by using:
+
+```bash
+# 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:
+
+```bash
+# Omnibus installations
+sudo gitlab-rake gitlab:import_export:data
+
+# Installations from source
+bundle exec rake gitlab:import_export:data RAILS_ENV=production
+```
+
+[ce-3050]: https://gitlab.com/gitlab-org/gitlab-ce/issues/3050