aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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