diff options
author | DJ Mountney <david@twkie.net> | 2016-10-21 11:31:15 -0700 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-10-21 14:31:56 -0700 |
commit | fadaba000a2faba191177793ff6aba5a0ecdbe24 (patch) | |
tree | 7e47dc7c9d3c47ddf4f9fcaf4b20ac66d7312fcb /doc/raketasks | |
parent | 9cf5b1cc99c5c8aaa5996472ef42ad0d1708c6d8 (diff) | |
download | gitlab-ce-fadaba000a2faba191177793ff6aba5a0ecdbe24.tar.gz |
Add an example of how to run the backups when using docker to the docsbackup-docker-docs
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/backup_restore.md | 4 |
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: |