From: Alan J. Pippin Date: Sat, 17 Jan 2009 22:43:47 +0000 (-0700) Subject: Fixed misnamed throttle opt var X-Git-Url: http://git.pippins.net/embedvideo/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/%24link?a=commitdiff_plain;h=3829caa2e99fcf28afe3004c367ce19ab86d2274;p=zfs-nexenta%2F.git Fixed misnamed throttle opt var --- diff --git a/zfs-replicate b/zfs-replicate index 84c8c5b..347bcbe 100755 --- a/zfs-replicate +++ b/zfs-replicate @@ -179,7 +179,7 @@ if [ $no_markers == 0 ]; then # Now it should be safe to send the snaps if [[ $throttle_enable == 1 && -e $throttle ]]; then ssh $remote $zfs send -R -I${previous_backup_marker} ${current_backup_marker} | - $throttle $throttle_opts | $zfs receive -vF -d ${local_pool}/${remote_pool} + $throttle $throttle_opt | $zfs receive -vF -d ${local_pool}/${remote_pool} else ssh $remote $zfs send -R -I${previous_backup_marker} ${current_backup_marker} | $zfs receive -vF -d ${local_pool}/${remote_pool} @@ -204,7 +204,7 @@ else # We found a common snapshot, incrementally send the new snaps if [[ $throttle_enable == 1 && -e $throttle ]]; then ssh $remote $zfs send -R -I${common/*@/@} ${current_backup_marker} | - $throttle $throttle_opts | $zfs receive -vF -d ${local_pool}/${remote_pool} + $throttle $throttle_opt | $zfs receive -vF -d ${local_pool}/${remote_pool} else ssh $remote $zfs send -R -I${common/*@/@} ${current_backup_marker} | $zfs receive -vF -d ${local_pool}/${remote_pool} @@ -232,7 +232,7 @@ else # Send the full filesystem if [[ $throttle_enable == 1 && -e $throttle ]]; then ssh $remote $zfs send -R ${current_backup_marker} | - $throttle $throttle_opts | $zfs receive -vF -d ${local_pool}/${remote_pool} + $throttle $throttle_opt | $zfs receive -vF -d ${local_pool}/${remote_pool} else ssh $remote $zfs send -R ${current_backup_marker} | $zfs receive -vF -d ${local_pool}/${remote_pool}