aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-08 17:28:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-08 17:28:46 -0300
commitaaeb63b986bf53bddfefd3887c8065c5d8acf109 (patch)
tree24426df658e7d4129e4b1c7af684ed4b3f7862cc /templates
parenta81422ab32e2b62cb488fd9af7c15132ce9162bf (diff)
downloadpuppet-backup-aaeb63b986bf53bddfefd3887c8065c5d8acf109.tar.gz
puppet-backup-aaeb63b986bf53bddfefd3887c8065c5d8acf109.tar.bz2
Enhancing rdiff-check output
Diffstat (limited to 'templates')
-rw-r--r--templates/rdiff-check.sh.erb7
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