[Backup Helper] Possible workaround for #3913
parent
c28bea6a53
commit
46928269bb
|
@ -126,6 +126,7 @@ function backup() {
|
||||||
--network $(docker network ls -qf name=${CMPS_PRJ}_mailcow-network) \
|
--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 \
|
-v $(docker volume ls -qf name=${CMPS_PRJ}_mysql-vol-1):/var/lib/mysql/:ro,z \
|
||||||
--entrypoint= \
|
--entrypoint= \
|
||||||
|
--sysctl net.ipv6.conf.all.disable_ipv6=1 \
|
||||||
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
|
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
|
||||||
${SQLIMAGE} /bin/sh -c "mariabackup --host mysql --user root --password ${DBROOT} --backup --rsync --target-dir=/backup_mariadb ; \
|
${SQLIMAGE} /bin/sh -c "mariabackup --host mysql --user root --password ${DBROOT} --backup --rsync --target-dir=/backup_mariadb ; \
|
||||||
mariabackup --prepare --target-dir=/backup_mariadb ; \
|
mariabackup --prepare --target-dir=/backup_mariadb ; \
|
||||||
|
|
Loading…
Reference in New Issue