diff --git a/borgmatic_setup.sh b/borgmatic_setup.sh index 2dedf50..c118cd1 100755 --- a/borgmatic_setup.sh +++ b/borgmatic_setup.sh @@ -69,7 +69,7 @@ SKIP_CONFIG=0 # Set to 1 to skip the borgmatic configuration readonly SCRIPT_NAME="Borgmatic Backup Setup Tool" readonly SCRIPT_AUTHOR="Zion Networks at admin@zion-networks.de" readonly SCRIPT_SUPPORT="admin@zion-networks.de" -readonly VERSION="1.2.2" +readonly VERSION="1.2.3" # logging functions function inf { @@ -915,6 +915,8 @@ elif [ -f $BORGMATIC_CONFIG_FILE ] && [ $OVERRIDE_CONFIG -eq 1 ]; then wrn "Existing borgmatic configuration file will be overridden!" fi +if [ $SKIP_CONFIG -eq 0 ]; then + cat > $BORGMATIC_CONFIG_FILE <