X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=zfs-replicate;h=347bcbe4ad4223872e5450d0b509ebb6d0d88b5c;hb=3829caa2e99fcf28afe3004c367ce19ab86d2274;hp=84c8c5b30132c35087ce74252baae81b1cd93a5c;hpb=22625b0f570c4318ae5d75ee506087e29d359e61;p=zfs-ubuntu%2F.git 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}