[Backup Helper] Possible workaround for #3913

This commit is contained in:
andryyy 2020-12-31 23:26:03 +01:00
parent c28bea6a53
commit 46928269bb
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -126,6 +126,7 @@ function backup() {
--network $(docker network ls -qf name=${CMPS_PRJ}_mailcow-network) \
-v $(docker volume ls -qf name=${CMPS_PRJ}_mysql-vol-1):/var/lib/mysql/:ro,z \
--entrypoint= \
--sysctl net.ipv6.conf.all.disable_ipv6=1 \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
${SQLIMAGE} /bin/sh -c "mariabackup --host mysql --user root --password ${DBROOT} --backup --rsync --target-dir=/backup_mariadb ; \
mariabackup --prepare --target-dir=/backup_mariadb ; \