diff options
author | Olivier Berger <oberger@ouvaton.org> | 2010-11-21 10:07:36 +0100 |
---|---|---|
committer | Olivier Berger <oberger@ouvaton.org> | 2011-04-25 22:40:44 +0200 |
commit | a1c2229e1a0d476fc02626f1326fa263955b17ee (patch) | |
tree | 4f76e3ac412edc7d942d6d8a2c3aa070084f80c3 /handlers/dup.helper.in | |
parent | 6aca9c822b640372b0fad24d2a3a288ef2cd6a0f (diff) | |
download | backupninja-a1c2229e1a0d476fc02626f1326fa263955b17ee.tar.gz backupninja-a1c2229e1a0d476fc02626f1326fa263955b17ee.tar.bz2 |
Proposed feature to address https://labs.riseup.net/code/issues/2492
Diffstat (limited to 'handlers/dup.helper.in')
-rw-r--r-- | handlers/dup.helper.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/handlers/dup.helper.in b/handlers/dup.helper.in index 5cd9dc6..2594b0b 100644 --- a/handlers/dup.helper.in +++ b/handlers/dup.helper.in @@ -124,6 +124,7 @@ do_dup_dest() { formItem "keep" "$dup_keep" formItem "incremental" "$dup_incremental" formItem "increments" "$dup_increments" + formItem "keepincroffulls" "$dup_keepincroffulls" formItem "bandwidthlimit" "$dup_bandwidth" formItem "sshoptions" "$dup_sshoptions" formDisplay @@ -141,8 +142,9 @@ do_dup_dest() { dup_keep=${thereply[3]} dup_incremental=${thereply[4]} dup_increments=${thereply[5]} - dup_bandwidth=${thereply[6]} - dup_sshoptions=${thereply[7]} + dup_keepincroffulls=${thereply[6]} + dup_bandwidth=${thereply[7]} + dup_sshoptions=${thereply[8]} done set +o noglob @@ -424,6 +426,14 @@ increments = $dup_increments #keep = yes keep = $dup_keep +# for how many full backups do we keep their later increments ; +# default is all (keep all increments). +# increments for older full backups will be deleted : only the more +# recent ones (count provided) will be kept +#keepincrofulls = all +#keepincrofulls = 6 +keepincrofulls = $dup_keepincroffulls + # full destination URL, in duplicity format; if set, desturl overrides # sshoptions, destdir, desthost and destuser; it also disables testconnect and # bandwithlimit. For details, see duplicity manpage, section "URL FORMAT". |