From e170c1c8b4c33e46456a109ac5d4864f1e3ea15e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 15 Jan 2010 15:42:41 -0200 Subject: Using --force on remove-older-than --- templates/dup.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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 -- cgit v1.2.3