diff --git a/main.inc.sh b/main.inc.sh index 17db659..78a524e 100755 --- a/main.inc.sh +++ b/main.inc.sh @@ -496,7 +496,7 @@ tar_dir() { sort="" fi log $DEBUG "$DBG > tar -c -z --warning=\"no-file-ignored\" --numeric-owner --one-file-system $sort --exclude \"@eaDir\" -C \"$root\" \"$dir\" | gpg --batch -c --passphrase xxxx -o \"$archive\"" - tar -c -z--warning="no-file-ignored" --numeric-owner --one-file-system $sort --exclude "@eaDir" -C "$root" "$dir" 2>>$LOG_FILE | gpg --batch -c --passphrase $PASSPHRASE -o "$archive" 2>>$LOG_FILE + tar -c -z --warning="no-file-ignored" --numeric-owner --one-file-system $sort --exclude "@eaDir" -C "$root" "$dir" 2>>$LOG_FILE | gpg --batch -c --passphrase $PASSPHRASE -o "$archive" 2>>$LOG_FILE check_pipe_rc ${PIPESTATUS[@]} return $? } diff --git a/main.sh b/main.sh index c469726..7da960b 100755 --- a/main.sh +++ b/main.sh @@ -3,7 +3,8 @@ # entrypoint for all actions # -# 2.3.5. 20.12.2025 - fix not only logging but tar command itself +# 2.3.6 21.12.2025 - another fix for the tar command +# 2.3.5 20.12.2025 - fix not only logging but tar command itself # 2.3.4 19.12.2025 - fix tar param: --warning="no-file-ignored" # 2.3.3 18.12.2025 - smtp-relay läuft durch, dadurch ändern sich ggf. Dateien im Container, was # zu Fehlern beim tar führt. Deshalb wird das Verzeichnis @@ -35,7 +36,7 @@ # 2.1.7 29.04.2025 - 1. Schritt zur Umstellung auf podman # 2.1.6 29.04.2025 - weekly backup Sa->SO -VER="2.3.5" +VER="2.3.6" HERE=$(dirname "$0") THIS_SCRIPT=$0