diff options
author | DJ Mountney <david@twkie.net> | 2016-10-21 21:31:15 +0300 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-10-22 00:31:56 +0300 |
commit | fadaba000a2faba191177793ff6aba5a0ecdbe24 (patch) | |
tree | 7e47dc7c9d3c47ddf4f9fcaf4b20ac66d7312fcb /doc/raketasks/backup_restore.md | |
parent | 9cf5b1cc99c5c8aaa5996472ef42ad0d1708c6d8 (diff) |
Add an example of how to run the backups when using docker to the docs
Diffstat (limited to 'doc/raketasks/backup_restore.md')
-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: |