From 50d2f1892fb2c22eac0de84e4d9fe9136aaa7c28 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 19 Aug 2020 10:00:06 +0200 Subject: [PATCH] Update to 2020-08-19 10:00 --- roles/zimbra/templates/pre_backup.sh.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/zimbra/templates/pre_backup.sh.j2 b/roles/zimbra/templates/pre_backup.sh.j2 index 603be3f..205e47c 100644 --- a/roles/zimbra/templates/pre_backup.sh.j2 +++ b/roles/zimbra/templates/pre_backup.sh.j2 @@ -9,10 +9,10 @@ zmsetvars # Dump ldap data /opt/zimbra/common/sbin/slapcat \ -F /opt/zimbra/data/ldap/config \ - -n 0 | lz4 -c > /home/lbkp/zimbra/ldap-config.ldif.lz4 + -n 0 | zstd -c > /home/lbkp/zimbra/ldap-config.ldif.zst /opt/zimbra/common/sbin/slapcat \ -F /opt/zimbra/data/ldap/config \ - -b "" | lz4 -c > /home/lbkp/zimbra/ldap.ldif.lz4 + -b "" | zstd -c > /home/lbkp/zimbra/ldap.ldif.zst {% endif %} {% if 'mailbox' in zcs_enabled_components %} @@ -23,7 +23,7 @@ zmsetvars --socket=$mysql_socket \ --all-databases \ --single-transaction \ - --flush-logs | lz4 -c > /home/lbkp/zimbra/mysql.sql.lz4 + --flush-logs | zstd -c > /home/lbkp/zimbra/mysql.sql.zst # Export calendars, tasks and address books to ics and vcf files OLDIFS=$IFS