diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-08 17:28:46 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-08 17:28:46 -0300 |
commit | aaeb63b986bf53bddfefd3887c8065c5d8acf109 (patch) | |
tree | 24426df658e7d4129e4b1c7af684ed4b3f7862cc /templates | |
parent | a81422ab32e2b62cb488fd9af7c15132ce9162bf (diff) | |
download | puppet-backup-aaeb63b986bf53bddfefd3887c8065c5d8acf109.tar.gz puppet-backup-aaeb63b986bf53bddfefd3887c8065c5d8acf109.tar.bz2 |
Enhancing rdiff-check output
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rdiff-check.sh.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/rdiff-check.sh.erb b/templates/rdiff-check.sh.erb index 229aced..a2052ff 100644 --- a/templates/rdiff-check.sh.erb +++ b/templates/rdiff-check.sh.erb @@ -10,11 +10,18 @@ if [ -e "$BACKUP_FOLDER" ]; then cd $BACKUP_FOLDER for set in `find -maxdepth 2 -name 'rdiff'`; do + echo " " echo "Checking backup set $set..." + echo "======================================================" + echo " " + rdiff-backup --list-increment-sizes $set; if [ -d "$set/<%= backupdir %>/duplicity" ]; then + echo " " echo "Checking duplicity backup found at $set/<%= backupdir %>/duplicity..." + echo "======================================================" + echo " " duplicity collection-status file:///$BACKUP_FOLDER/$set/<%= backupdir %>/duplicity fi done |