Commit 1fbbde51 authored by nimrod's avatar nimrod
Browse files

Store backups in the host's /var/backups.

GitLab stores backups as tar files with the date as part of the
filename. Backups older than 10 days are deleted. It's easier for me to
them have off-site backups if they're under /var/backups and there's no
need to have a process to copy or snapshot to that directory (the
current format is fine).
parent 4b5ad107
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ services:
      - config:/etc/gitlab
      - data:/var/opt/gitlab
      - logs:/var/log/gitlab
      - backups:/var/backups
      - /var/backups/gitlab:/var/backups
      - _run_slapd:/run/slapd

  crond:
@@ -96,7 +96,6 @@ volumes:
  config:
  data:
  logs:
  backups:
  _run_slapd:
    external: true
    name: run_slapd