summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2004-04-25 11:39:28 +0000
committerJonas Smedegaard <dr@jones.dk>2004-04-25 11:39:28 +0000
commitdd19504445baea473b26c8b3813ee8193cbd893b (patch)
treece58b0898b5bf23593b77b3096bfc5af3be335ad /rdiff-backup
parent6678a6ac6f152b15be3f4eccc11fd25c6eb814f9 (diff)
Lower --terminal-verbosity to "1" (default verbosity still in logfiles).
Diffstat (limited to 'rdiff-backup')
-rw-r--r--rdiff-backup/rdiff-backup.inc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff-backup.inc.sh b/rdiff-backup/rdiff-backup.inc.sh
index 9af5484..b76e123 100644
--- a/rdiff-backup/rdiff-backup.inc.sh
+++ b/rdiff-backup/rdiff-backup.inc.sh
@@ -27,11 +27,11 @@ function rdiffit() {
continue
fi
if [ "$host" = "`hostname -f`" ]; then
- rdiff-backup --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' /"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
+ rdiff-backup --terminal-verbosity 1 --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' /"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
elif [ -z "$up$down" ]; then
- rdiff-backup --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' --remote-schema 'ssh -o BatchMode=yes %s '\''rdiff-backup --server'\' $host::/"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
+ rdiff-backup --terminal-verbosity 1 --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' --remote-schema 'ssh -o BatchMode=yes %s '\''rdiff-backup --server'\' $host::/"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
else
- rdiff-backup --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' --remote-schema 'cstream -t '$up' | ssh -o BatchMode=yes %s '\''rdiff-backup --server'\'' | cstream -t '$down $host::/"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
+ rdiff-backup --terminal-verbosity 1 --exclude '**/cache/**' --exclude '**_scache.pag.*' --exclude '**/mail/.imap/**' --exclude '**/jonas/src/**' --exclude '**/pc/downloads/**' --remote-schema 'cstream -t '$up' | ssh -o BatchMode=yes %s '\''rdiff-backup --server'\'' | cstream -t '$down $host::/"$dir" "/var/local/backups/$host/rdiff-backup/${dir//\//-}"
fi
done
}