summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2016-10-21 11:31:15 -0700
committerDJ Mountney <david@twkie.net>2016-10-21 14:31:56 -0700
commitfadaba000a2faba191177793ff6aba5a0ecdbe24 (patch)
tree7e47dc7c9d3c47ddf4f9fcaf4b20ac66d7312fcb
parent9cf5b1cc99c5c8aaa5996472ef42ad0d1708c6d8 (diff)
downloadgitlab-ce-backup-docker-docs.tar.gz
Add an example of how to run the backups when using docker to the docsbackup-docker-docs
-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: