From: Silvio Rhatto Date: Tue, 8 Jun 2010 20:01:09 +0000 (-0300) Subject: Checking duplicity backups packaged into rdiff backups X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a81422ab32e2b62cb488fd9af7c15132ce9162bf;p=puppet-backup.git Checking duplicity backups packaged into rdiff backups --- diff --git a/templates/rdiff-check.sh.erb b/templates/rdiff-check.sh.erb index f79b235..229aced 100644 --- a/templates/rdiff-check.sh.erb +++ b/templates/rdiff-check.sh.erb @@ -12,6 +12,11 @@ if [ -e "$BACKUP_FOLDER" ]; then for set in `find -maxdepth 2 -name 'rdiff'`; do echo "Checking backup set $set..." rdiff-backup --list-increment-sizes $set; + + if [ -d "$set/<%= backupdir %>/duplicity" ]; then + echo "Checking duplicity backup found at $set/<%= backupdir %>/duplicity..." + duplicity collection-status file:///$BACKUP_FOLDER/$set/<%= backupdir %>/duplicity + fi done cd $cwd