Commit bbd49e90 authored by Mathieu Lutfy's avatar Mathieu Lutfy Committed by bgm
Browse files

#923 gitlab: exclude uploads from backups (they are in rdiff-backup)

parent b9bb629f
......@@ -30,16 +30,20 @@
- gitlab
- packages
# NB: coopsymbiotic/ops#63
# Backup of uploads is done separately, to reduce the size of the main tar
# (uploads are 50% of the 2GB tar).
- name: Configure Gitlab cron for backups.
cron:
name="gitlab-backup"
minute="20"
hour="22"
job="/opt/gitlab/bin/gitlab-rake gitlab:backup:create CRON=1"
job="/opt/gitlab/bin/gitlab-rake gitlab:backup:create CRON=1 SKIP=uploads"
cron_file="gitlab-backup"
user="root"
state=present
tags:
- gitlab
- gitlab-cron
## TODO:
......
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