Skip to content
Snippets Groups Projects
Commit 5d94e2ad authored by intrigeri's avatar intrigeri
Browse files

dup: fix incorrect duplicity version check for keepincroffulls.

Thanks to Olivier Berger <oberger@ouvaton.org> for the patch.
(Closes Redmine bug #3443)
(Closes: #641120)
parent c43aa369
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ version 0.9.10 -- UNRELEASED ...@@ -2,6 +2,10 @@ version 0.9.10 -- UNRELEASED
handler changes: handler changes:
dup: dup:
. Cleanup: stop supporting duplicity < 0.6.01 (Redmine#2538). . Cleanup: stop supporting duplicity < 0.6.01 (Redmine#2538).
. Fix incorrect duplicity version check for keepincroffulls.
Thanks to Olivier Berger <oberger@ouvaton.org> for the patch.
(Closes Redmine bug #3443)
(Closes: #641120)
rsync: rsync:
. Fixing $rsync_options output when rsync is local . Fixing $rsync_options output when rsync is local
(Closes Redmine bug #3001) (Closes Redmine bug #3001)
......
...@@ -275,7 +275,7 @@ fi ...@@ -275,7 +275,7 @@ fi
# remove-all-inc-of-but-n-full : remove increments of older full backups : only keep latest ones # remove-all-inc-of-but-n-full : remove increments of older full backups : only keep latest ones
if [ "$keep" != "yes" ]; then if [ "$keep" != "yes" ]; then
if [ "$keepincroffulls" != "all" ]; then if [ "$keepincroffulls" != "all" ]; then
if [ "$duplicity_major" -ge 0 -a "$duplicity_minor" -ge 9 -a "$duplicity_sub" -ge 10 ]; then if [ "$duplicity_major" -ge 0 -a "$duplicity_minor" -ge 6 -a "$duplicity_sub" -ge 10 ]; then
debug "$precmd duplicity remove-all-inc-of-but-n-full $keepincroffulls --force $execstr_options $execstr_serverpart" debug "$precmd duplicity remove-all-inc-of-but-n-full $keepincroffulls --force $execstr_options $execstr_serverpart"
if [ ! $test ]; then if [ ! $test ]; then
export PASSPHRASE=$password export PASSPHRASE=$password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment