From 83aa59656895f4faf425ecc3b5cbe703f7d66987 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 30 Sep 2018 17:11:18 +0200 Subject: [PATCH] More detailled rotation logs --- dev/n_obackup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index d1bf27a..5263fe3 100644 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -7,7 +7,7 @@ PROGRAM="obackup" AUTHOR="(C) 2013-2018 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.1-RC1 -PROGRAM_BUILD=2018093006 +PROGRAM_BUILD=2018093007 IS_STABLE=no #### Execution order #__WITH_PARANOIA_DEBUG @@ -1755,11 +1755,11 @@ function RotateBackups { __CheckArguments 2 $# "$@" #__WITH_PARANOIA_DEBUG - Logger "Rotating backups in [$backupPath] for [$rotateCopies] copies." "NOTICE" - if [ "$BACKUP_TYPE" == "local" ] || [ "$BACKUP_TYPE" == "pull" ]; then + Logger "Rotating local backups in [$backupPath] for [$rotateCopies] copies." "NOTICE" _RotateBackupsLocal "$backupPath" "$rotateCopies" elif [ "$BACKUP_TYPE" == "push" ]; then + Logger "Rotating remote backups in [$backupPath] for [$rotateCopies] copies." "NOTICE" _RotateBackupsRemote "$backupPath" "$rotateCopies" fi }