From 6e368cd61ee318e41e54cc08d72967b69ed1776a Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 19 Oct 2020 07:06:47 -0700 Subject: [PATCH] Don't recompress db backups We're using logrotate to keep a small number of db backups locally. We write these backups to disk compressed. We don't want logrotate to recompress them. This is unnecessary extra work. Change-Id: Iafe1628ff421f47cf3e5cbee14998eeceb60be4c --- playbooks/roles/etherpad/tasks/main.yaml | 1 + playbooks/roles/gitea/tasks/main.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/playbooks/roles/etherpad/tasks/main.yaml b/playbooks/roles/etherpad/tasks/main.yaml index f3fbef1d6e..c8f270f11c 100644 --- a/playbooks/roles/etherpad/tasks/main.yaml +++ b/playbooks/roles/etherpad/tasks/main.yaml @@ -140,3 +140,4 @@ name: logrotate vars: logrotate_file_name: /var/backups/etherpad-mariadb/etherpad-mariadb.sql.gz + logrotate_compress: false diff --git a/playbooks/roles/gitea/tasks/main.yaml b/playbooks/roles/gitea/tasks/main.yaml index d412c92b58..60164f0be3 100644 --- a/playbooks/roles/gitea/tasks/main.yaml +++ b/playbooks/roles/gitea/tasks/main.yaml @@ -185,3 +185,4 @@ name: logrotate vars: logrotate_file_name: /var/backups/gitea-mariadb/gitea-mariadb.sql.gz + logrotate_compress: false