fix tar cmd line again

This commit is contained in:
Hartmut Bauer committed 2025-12-21 03:20:26 +01:00
1 parent f29875e7a5
commit c5648a9694
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -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 $?
}
+3 -2
View File
@@ -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