Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Koller <markus-koller@gmx.ch>2017-07-20 11:50:07 +0300
committerMarkus Koller <markus-koller@gmx.ch>2017-07-27 14:24:19 +0300
commitd27dec80ceb372a5aace7c69e3bdba841d1ed863 (patch)
treea85699a100afe8e46e26e025b9d17c4d97356f01 /doc/raketasks
parent4d05e85375b81d94ef828c8c5544bf62a5abc024 (diff)
Support custom directory in gitlab:backup:create task
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/backup_restore.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index 855f437cd73..6ccd79641bc 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -270,6 +270,15 @@ For installations from source:
remote_directory: 'gitlab_backups'
```
+### Specifying a custom directory for backups
+
+If you want to group your backups you can pass a `DIRECTORY` environment variable:
+
+```
+sudo gitlab-rake gitlab:backup:create DIRECTORY=daily
+sudo gitlab-rake gitlab:backup:create DIRECTORY=weekly
+```
+
### Backup archive permissions
The backup archives created by GitLab (`1393513186_2014_02_27_gitlab_backup.tar`)