From ca18ebdb42682b2bb153156e06752231feb6f065 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Sun, 29 Jul 2018 14:27:51 +0200 Subject: [PATCH] Always backup mailcow.conf --- helper-scripts/backup_and_restore.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/helper-scripts/backup_and_restore.sh b/helper-scripts/backup_and_restore.sh index a62d7d1a..838da1f2 100755 --- a/helper-scripts/backup_and_restore.sh +++ b/helper-scripts/backup_and_restore.sh @@ -53,6 +53,7 @@ function backup() { DATE=$(date +"%Y-%m-%d-%H-%M-%S") mkdir -p "${BACKUP_LOCATION}/mailcow-${DATE}" chmod 755 "${BACKUP_LOCATION}/mailcow-${DATE}" + cp "${SCRIPT_DIR}/../mailcow.conf" "${BACKUP_LOCATION}/mailcow-${DATE}" while (( "$#" )); do case "$1" in vmail|all)