Commit d9905722 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

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
parents 146d4348 fadaba00
......@@ -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:
......
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