Compare commits
No commits in common. "2747b100406b98f36af0bd94652d605228ba1287" and "3a3b02685bc3fd3f91cfd47a05614b779331dd51" have entirely different histories.
2747b10040
...
3a3b02685b
@ -57,7 +57,7 @@ doRestore() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if (! (cd "$sourceFiles/_data" && tar -cf - .) | (cd "${2}" && tar xvf -) > /dev/null 2>&1 ); then
|
if (! (cd "$sourceFiles/_data" && tar -cf - .) | (cd "${3}" && tar xvf -) > /dev/null 2>&1 ); then
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
@ -500,6 +500,7 @@ if [ "$restorePostfix" -eq 1 ]; then
|
|||||||
writeLog 'task' "Restoring postfix files"
|
writeLog 'task' "Restoring postfix files"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# restore email messages
|
||||||
doRestore "${COMPOSE_PROJECT_NAME}_postfix-vol-1" "$dockerVolumePostfix"; ec="$?"
|
doRestore "${COMPOSE_PROJECT_NAME}_postfix-vol-1" "$dockerVolumePostfix"; ec="$?"
|
||||||
case "$ec" in
|
case "$ec" in
|
||||||
0)
|
0)
|
||||||
@ -536,6 +537,7 @@ if [ "$restoreRspamd" -eq 1 ]; then
|
|||||||
writeLog 'task' "Restoring Rspamd files"
|
writeLog 'task' "Restoring Rspamd files"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# restore email messages
|
||||||
doRestore "${COMPOSE_PROJECT_NAME}_rspamd-vol-1" "$dockerVolumeRspamd"; ec="$?"
|
doRestore "${COMPOSE_PROJECT_NAME}_rspamd-vol-1" "$dockerVolumeRspamd"; ec="$?"
|
||||||
case "$ec" in
|
case "$ec" in
|
||||||
0)
|
0)
|
||||||
@ -572,6 +574,7 @@ if [ "$restoreRedis" -eq 1 ]; then
|
|||||||
writeLog 'task' "Restoring redis database"
|
writeLog 'task' "Restoring redis database"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# restore email messages
|
||||||
doRestore "${COMPOSE_PROJECT_NAME}_redis-vol-1" "$dockerVolumeRedis"; ec="$?"
|
doRestore "${COMPOSE_PROJECT_NAME}_redis-vol-1" "$dockerVolumeRedis"; ec="$?"
|
||||||
case "$ec" in
|
case "$ec" in
|
||||||
0)
|
0)
|
||||||
|
Loading…
Reference in New Issue
Block a user