diff options
-rw-r--r-- | templates/rdiff-check.sh.erb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |