]> arthur.ath.cx Git - backup-script.git/blobdiff - bin/backup-script
Disable compression for the local system
[backup-script.git] / bin / backup-script
index 2f2eee154a782c51508a05ef33ac07bf8d85c7f1..0ac5fe242ad22abf5780b953e13027773a7a1524 100755 (executable)
@@ -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