]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Using --force on remove-older-than
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Jan 2010 17:42:41 +0000 (15:42 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Jan 2010 17:42:41 +0000 (15:42 -0200)
templates/dup.conf.erb

index 9070bac3082548e278e94586b93812bd481eeb52..9c37b7d02db7572db933bc1038145bacdf25f36e 100644 (file)
@@ -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