Update to 2020-08-19 10:00

master
Daniel Berteaud 4 years ago
parent 6ebc41570e
commit 50d2f1892f
  1. 6
      roles/zimbra/templates/pre_backup.sh.j2

@ -9,10 +9,10 @@ zmsetvars
# Dump ldap data # Dump ldap data
/opt/zimbra/common/sbin/slapcat \ /opt/zimbra/common/sbin/slapcat \
-F /opt/zimbra/data/ldap/config \ -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 \ /opt/zimbra/common/sbin/slapcat \
-F /opt/zimbra/data/ldap/config \ -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 %} {% endif %}
{% if 'mailbox' in zcs_enabled_components %} {% if 'mailbox' in zcs_enabled_components %}
@ -23,7 +23,7 @@ zmsetvars
--socket=$mysql_socket \ --socket=$mysql_socket \
--all-databases \ --all-databases \
--single-transaction \ --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 # Export calendars, tasks and address books to ics and vcf files
OLDIFS=$IFS OLDIFS=$IFS

Loading…
Cancel
Save