From bba4a16037b14d2fb96ebbbaf69152aecfb009fb Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 Aug 2017 15:05:55 -0300 Subject: [PATCH] Bugfix #44 - Full restore stop working if you do an alias/distlist backup --- README.md | 2 +- src/zmbackup | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12efd4f..86d9321 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Enter inside the folder zmbackup and execute the script install.sh. Follow the i ``` $ zmbackup -v -zmbackup version: 1.1.6 +zmbackup version: 1.1.7 ``` Open the folder /etc/cron.d/zmbackup.cron and adjust each job scheduled to the time you want the execution. If you configured zmbkpose or any old release before, please undo and use this file for scheduling. diff --git a/src/zmbackup b/src/zmbackup index 0d1abde..512c260 100755 --- a/src/zmbackup +++ b/src/zmbackup @@ -36,7 +36,7 @@ ################################################################################ # zmbackup: # -# 18/04/2017 - Version 1.1.6 - By Lucas Costa Beyeler +# 31/08/2017 - Version 1.1.7 - By Lucas Costa Beyeler # # ################################################################################ @@ -142,6 +142,8 @@ build_restore_list() INBETWEEN=1 elif [[ "$INBETWEEN" -eq 1 ]] && [[ "$i" == "inc-"* ]]; then echo $i >> $TEMPSESSION + elif [[ "$i" == "alias-"* ]] || [[ "$i" == "distlist-"* ]]; then + continue else break fi @@ -644,7 +646,7 @@ case "$1" in show_help ;; "-v"|"--version" ) - echo "zmbackup version: 1.1.6" + echo "zmbackup version: 1.1.7" ;; * ) show_help