From: Silvio Rhatto Date: Fri, 15 Jan 2010 17:42:41 +0000 (-0200) Subject: Using --force on remove-older-than X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e170c1c8b4c33e46456a109ac5d4864f1e3ea15e;p=puppet-backup.git Using --force on remove-older-than --- diff --git a/templates/dup.conf.erb b/templates/dup.conf.erb index 9070bac..9c37b7d 100644 --- a/templates/dup.conf.erb +++ b/templates/dup.conf.erb @@ -34,6 +34,6 @@ else duplicity -v6 --full-if-older-than $FULL_IF_OLDER_THAN \ --tempdir $TMP --encrypt-key $ENCRYPT_KEY --sign-key $SIGN_KEY \ --exclude $TMP $EXCLUDE $INCLUDE --exclude '**' / file:///$BACKUP_FOLDER || exit 1 - - duplicity remove-older-than $REMOVE_OLDER_THAN file:///$BACKUP_FOLDER || exit 1 + + duplicity remove-older-than $REMOVE_OLDER_THAN file:///$BACKUP_FOLDER --force || exit 1 fi