Commit e8771823 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/add-missing-docker-restore-commands' into 'master'

Docs - Add missing Docker restore commands

See merge request gitlab-org/gitlab!37028
parents 18b6cabe ce853816
......@@ -850,7 +850,22 @@ backup location (default location is `/var/opt/gitlab/backups`).
For Docker installations, the restore task can be run from host:
```shell
docker exec -it <name of container> gitlab-backup restore
# Stop the processes that are connected to the database
docker exec -it <name of container> gitlab-ctl stop unicorn
docker exec -it <name of container> gitlab-ctl stop puma
docker exec -it <name of container> gitlab-ctl stop sidekiq
# Verify that the processes are all down before continuing
docker exec -it <name of container> gitlab-ctl status
# Run the restore
docker exec -it <name of container> gitlab-backup restore BACKUP=11493107454_2018_04_25_10.6.4-ce
# Restart the GitLab container
docker restart <name of container>
# Check GitLab
docker exec -it <name of container> gitlab-rake gitlab:check SANITIZE=true
```
NOTE: **Note:**
......
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