From: Alexander Barton Date: Tue, 18 Aug 2015 08:41:37 +0000 (+0200) Subject: Disable compression for the local system X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546186865af5bd5a1d6da811f0f4df58dfefc44f;p=backup-script.git Disable compression for the local system --- diff --git a/bin/backup-script b/bin/backup-script index 2f2eee1..0ac5fe2 100755 --- a/bin/backup-script +++ b/bin/backup-script @@ -397,7 +397,11 @@ for f in $sys; do post_exec="$post_exec_saved" # Validate configuration - [ "$system" = "localhost" -o "$system" = "127.0.0.1" ] && local=1 + if [ "$system" = "localhost" -o "$system" = "127.0.0.1" ]; then + # Local system + local=1 + compress=0 + fi # Make sure "source" ends with a slash ("/") case "$source" in