Skip to content
Snippets Groups Projects

gitlab-backup: Set GZIP_RSYNCABLE=yes so borg can dedup

Merged Evangelos Foutras requested to merge gitlab-backup-gzip-rsyncable into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -12,4 +12,4 @@ echo "emptying backup directory ${backupdir}"
# Verify that the gitlab_backupdir in ansible was defined, otherwise we will rm /* and remove the previous backup
rm -r "${backupdir:?backup dir unset}/"*
docker exec gitlab gitlab-backup create STRATEGY=copy SKIP=tar
docker exec gitlab gitlab-backup create STRATEGY=copy SKIP=tar GZIP_RSYNCABLE=yes
Loading