aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-29 14:44:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-29 14:44:20 -0300
commitdc96afc841e3b3ac9fad4006819714c1bf7ce8b0 (patch)
tree7213558c51afe16932a3aec569019da6e361dab6
parentbfa33e1f65b6243a28a01f8e2b3fdbcee0fab75f (diff)
downloadpuppet-backup-dc96afc841e3b3ac9fad4006819714c1bf7ce8b0.tar.gz
puppet-backup-dc96afc841e3b3ac9fad4006819714c1bf7ce8b0.tar.bz2
Increase default BWLIMIT
-rw-r--r--files/sync-backups2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-backups b/files/sync-backups
index 94e41f7..aa92754 100644
--- a/files/sync-backups
+++ b/files/sync-backups
@@ -7,7 +7,7 @@
BASENAME="`basename $0`"
VOLUME="$1"
MEDIA="/media/$VOLUME"
-BWLIMIT=${BWLIMIT:=2500}
+BWLIMIT=${BWLIMIT:=32000}
IMAGES="/var/data/crypt/"
RSYNC="ionice -c 3 nice -n 19 rsync -avH --delete --bwlimit=$BWLIMIT"
CP="ionice -c 3 nice -n 19 cp"