From 3df3ea77d4cd34cde6a4d0338b341010430bd6dd Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 20 May 2016 14:16:27 +0200 Subject: [PATCH] User rsync option "--delete-during" --- bin/backup-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/backup-script b/bin/backup-script index a553673..97f3e80 100755 --- a/bin/backup-script +++ b/bin/backup-script @@ -574,7 +574,7 @@ for f in "${sys[@]}"; do cmd="$rsync --archive" [ "$compress" -ne 0 ] && cmd="$cmd --compress" [ "$local" -eq 0 ] && cmd="$cmd --rsh=\"$ssh_cmd\"" - cmd="$cmd --delete --delete-excluded --sparse" + cmd="$cmd --delete-during --delete-excluded --sparse" if [ "$VERBOSE" -gt 0 ]; then [ "$rsync_proto" -ge 31 ] \ && cmd="$cmd --info=progress2" \ -- 2.39.2