Skip to content
Snippets Groups Projects
Commit d94c2aac authored by Alex Povel's avatar Alex Povel
Browse files
parent e9405505
No related branches found
No related tags found
1 merge request!24Bumping heptapod-stable for 0.19
......@@ -109,8 +109,17 @@
```
NOTE: **Note:**
You need to have volumes mounted at `/secret/gitlab/backups` and `/var/opt/gitlab`
in order to have these backups persisted outside the container.
To persist these backups outside the container, mount volumes in the following directories:
1. `/secret/gitlab/backups`.
1. `/var/opt/gitlab` for [all application data](../docker/README.md#set-up-the-volumes-location), which includes backups.
1. `/var/opt/gitlab/backups` (optional). The `gitlab-backup` tool writes to this directory [by default](#creating-an-application-backup).
While this directory is nested inside `/var/opt/gitlab`, [Docker sorts these mounts](https://github.com/moby/moby/pull/8055), allowing them to work in harmony.
This configuration enables, for example:
- Application data on regular local storage (through the second mount).
- A backup volume on network storage (through the third mount).
## Restoring an application backup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment