From 546186865af5bd5a1d6da811f0f4df58dfefc44f Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 18 Aug 2015 10:41:37 +0200 Subject: [PATCH] Disable compression for the local system --- bin/backup-script | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2