# 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}
# 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}
# 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}