Commit fadaba00 authored by DJ Mountney's avatar DJ Mountney

Add an example of how to run the backups when using docker to the docs

parent 9cf5b1cc
...@@ -30,6 +30,10 @@ Use this if you've installed GitLab from source: ...@@ -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 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 You can specify that portions of the application data be skipped using the
environment variable `SKIP`. You can skip: environment variable `SKIP`. You can skip:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment