]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Enhancing rdiff-check output
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Jun 2010 20:28:46 +0000 (17:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Jun 2010 20:28:46 +0000 (17:28 -0300)
templates/rdiff-check.sh.erb

index 229aced311821e37398c91c76f39d94add34bb62..a2052ff75f1f1421aff98d0f1eab6c1f519d0d4b 100644 (file)
@@ -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