From f097999bd3f211d5cad4588c07bb801220282588 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 20 Jun 2017 16:20:44 +0200 Subject: [PATCH] Fixed missing rsync args --- dev/n_obackup.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index eb8e735..0a0823b 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -7,7 +7,7 @@ PROGRAM="obackup" AUTHOR="(C) 2013-2017 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.1-beta2 -PROGRAM_BUILD=2017062002 +PROGRAM_BUILD=2017062003 IS_STABLE=no #### Execution order #__WITH_PARANOIA_DEBUG @@ -1784,23 +1784,23 @@ function Init { REMOTE_HOST=${hosturi%%:*} fi - ## Add update to default RSYNC_ARGS - RSYNC_ARGS=$RSYNC_ARGS" -u" + ## Add update to default RSYNC_TYPE_ARGS + RSYNC_TYPE_ARGS=$RSYNC_TYPE_ARGS" -u" if [ $_LOGGER_VERBOSE == true ]; then - RSYNC_ARGS=$RSYNC_ARGS" -i" + RSYNC_TYPE_ARGS=$RSYNC_TYPE_ARGS" -i" fi if [ "$DELETE_VANISHED_FILES" == "yes" ]; then - RSYNC_ARGS=$RSYNC_ARGS" --delete" + RSYNC_TYPE_ARGS=$RSYNC_TYPE_ARGS" --delete" fi if [ $stats == true ]; then - RSYNC_ARGS=$RSYNC_ARGS" --stats" + RSYNC_TYPE_ARGS=$RSYNC_TYPE_ARGS" --stats" fi ## Fix for symlink to directories on target cannot get updated - RSYNC_ARGS=$RSYNC_ARGS" --force" + RSYNC_TYPE_ARGS=$RSYNC_TYPE_ARGS" --force" } function Main {