aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-15 15:42:41 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-15 15:42:41 -0200
commite170c1c8b4c33e46456a109ac5d4864f1e3ea15e (patch)
tree1a35009ed5dfdc630163882a224c4bbb2796c059 /templates
parent814b314c73486eca543a8afd953929bf36c25ee3 (diff)
downloadpuppet-backup-e170c1c8b4c33e46456a109ac5d4864f1e3ea15e.tar.gz
puppet-backup-e170c1c8b4c33e46456a109ac5d4864f1e3ea15e.tar.bz2
Using --force on remove-older-than
Diffstat (limited to 'templates')
-rw-r--r--templates/dup.conf.erb4
1 files changed, 2 insertions, 2 deletions
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