aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/example.rsync4
-rw-r--r--handlers/rsync.in4
-rw-r--r--handlers/wget6
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/example.rsync b/examples/example.rsync
index 3ac3975..a2795db 100644
--- a/examples/example.rsync
+++ b/examples/example.rsync
@@ -116,7 +116,7 @@ exclude_vserver = excluded_vserver2
# if set to 1, compress data on rsync (remote source only)
#compress = 0
-# set a badnwidth limit in KB/s (remote source only)
+# set a bandwidth limit in KB/s (remote source only)
#bandwidthlimit =
# remote rsync program (remote source only)
@@ -169,7 +169,7 @@ exclude_vserver = excluded_vserver2
# ssh key file (remote destination only)
#id_file = /root/.ssh/id_dsa
-# set a badnwidth limit in KB/s (remote destination only)
+# set a bandwidth limit in KB/s (remote destination only)
#bandwidthlimit =
# remote rsync program (remote dest only)
diff --git a/handlers/rsync.in b/handlers/rsync.in
index e46f866..ba2b9b5 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -60,7 +60,7 @@
# exclude_vserver = vserver-name (valid only if vservers = yes on backupninja.conf)
# numericids = when set to 1, use numeric ids instead of user/group mappings on rsync
# compress = if set to 1, compress data on rsync (remote source only)
-# bandwidthlimit = set a badnwidth limit in KB/s (remote source only)
+# bandwidthlimit = set a bandwidth limit in KB/s (remote source only)
# remote_rsync = remote rsync program (remote source only)
# id_file = ssh key file (remote source only)
# batch = set to "yes" to rsync use a batch file as source
@@ -79,7 +79,7 @@
# port = remote port number (remote destination only)
# user = remote user name (remote destination only)
# id_file = ssh key file (remote destination only)
-# bandwidthlimit = set a badnwidth limit in KB/s (remote destination only)
+# bandwidthlimit = set a bandwidth limit in KB/s (remote destination only)
# remote_rsync = remote rsync program (remote dest only)
# batch = set to "yes" to rsync write a batch file from the changes
# batchbase = folder where the batch file should be written
diff --git a/handlers/wget b/handlers/wget
index 67425fc..79aa22c 100644
--- a/handlers/wget
+++ b/handlers/wget
@@ -26,7 +26,7 @@
# wget = wget program
# wget_options = wget command options
# url = remote data url
-# bandwidthlimit = set a badnwidth limit in kbps (remote source only)
+# bandwidthlimit = set a bandwidth limit in kbps (remote source only)
#
# [destination]
# folder = local folder
@@ -182,8 +182,8 @@ echo "Rotating $backupdir/$folder/$folder..." >> $log
rotate $backupdir/$folder/$folder $keep
info "Wget'ing $SECTION on $backupdir/$folder/$folder.0..."
-if [ ! -z "$badnwidth" ]; then
- limit_rate="--limit-rate=$badnwidth""k"
+if [ ! -z "$bandwidth" ]; then
+ limit_rate="--limit-rate=$bandwidth""k"
fi
cd $backupdir/$folder/$folder.0