summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-27 15:18:59 +0200
committerValery Sizov <vsv2711@gmail.com>2015-04-02 15:37:50 +0300
commit67c83489cac6029ac0eb072b12fd6a9955343cd0 (patch)
tree8c47719625210d0e842df51ce1b47d13b3769863 /doc/raketasks
parent2a0d38c03fa20979a92597fdff18989c2b8e106b (diff)
downloadgitlab-ce-67c83489cac6029ac0eb072b12fd6a9955343cd0.tar.gz
ability to skip some items in backupbackup_skip_option
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/backup_restore.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index 99cdfff0ac6..2e41fad89e7 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -17,6 +17,13 @@ sudo gitlab-rake gitlab:backup:create
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
+Also you can choose what should be backed up by adding environment variable SKIP. Available options: db,
+uploads (attachments), repositories. Use a comma to specify several options at the same time.
+
+```
+sudo gitlab-rake gitlab:backup:create SKIP=db,uploads
+```
+
Example output:
```