summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-10-24 14:47:43 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-10-24 14:47:43 +0000
commitd9905722f124fd28ce0b41d5a972ce5757a29302 (patch)
tree5c679b78ff7555e7e2c517e6b5510153f490ec62
parent146d4348ca6812e26729de40a831f4ae8c27fde6 (diff)
parentfadaba000a2faba191177793ff6aba5a0ecdbe24 (diff)
downloadgitlab-ce-d9905722f124fd28ce0b41d5a972ce5757a29302.tar.gz
Merge branch 'backup-docker-docs' into 'master'
Add an example of how to run the backups when using docker to the docs ## What are the relevant issue numbers? https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1616 See merge request !7046
-rw-r--r--doc/raketasks/backup_restore.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index 26baffdf792..fc0cd1b8af2 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -30,6 +30,10 @@ Use this if you've installed GitLab from source:
```
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
+If you are running GitLab within a Docker container, you can run the backup from the host:
+```
+docker -t exec <container name> gitlab-rake gitlab:backup:create
+```
You can specify that portions of the application data be skipped using the
environment variable `SKIP`. You can skip: