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
This commit is contained in:
Clark Boylan 2020-10-19 07:06:47 -07:00
parent be8e13c139
commit 6e368cd61e
2 changed files with 2 additions and 0 deletions

View File

@ -140,3 +140,4 @@
name: logrotate name: logrotate
vars: vars:
logrotate_file_name: /var/backups/etherpad-mariadb/etherpad-mariadb.sql.gz logrotate_file_name: /var/backups/etherpad-mariadb/etherpad-mariadb.sql.gz
logrotate_compress: false

View File

@ -185,3 +185,4 @@
name: logrotate name: logrotate
vars: vars:
logrotate_file_name: /var/backups/gitea-mariadb/gitea-mariadb.sql.gz logrotate_file_name: /var/backups/gitea-mariadb/gitea-mariadb.sql.gz
logrotate_compress: false