Skip to content

Commit

Permalink
Bugfix #44 - Full restore stop working if you do an alias/distlist ba…
Browse files Browse the repository at this point in the history
…ckup
  • Loading branch information
root committed Aug 31, 2017
1 parent 9a7f751 commit bba4a16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions src/zmbackup
Original file line number Diff line number Diff line change
Expand Up @@ -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
# <[email protected]>
# <[email protected]>
################################################################################
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bba4a16

Please sign in to comment.