diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-03-29 14:44:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-03-29 14:44:20 -0300 |
commit | dc96afc841e3b3ac9fad4006819714c1bf7ce8b0 (patch) | |
tree | 7213558c51afe16932a3aec569019da6e361dab6 | |
parent | bfa33e1f65b6243a28a01f8e2b3fdbcee0fab75f (diff) | |
download | puppet-backup-dc96afc841e3b3ac9fad4006819714c1bf7ce8b0.tar.gz puppet-backup-dc96afc841e3b3ac9fad4006819714c1bf7ce8b0.tar.bz2 |
Increase default BWLIMIT
-rw-r--r-- | files/sync-backups | 2 |
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" |