use send options on initial replication

This commit is contained in:
Fredrik Eriksson 2019-04-20 10:48:16 +02:00
parent ddc7029873
commit a22c2d35f7
No known key found for this signature in database
GPG Key ID: 8825C73A0FD1502A

View File

@ -57,7 +57,7 @@ def send_snapshot(
repl_from = repl_from.strftime(time_format)
args = [ 'send' ] + send_opts + [ inc_flag, '{}@{}'.format(fs, repl_from), '{}@{}'.format(fs, snap) ]
else:
args = [ 'send', '{}@{}'.format(fs, snap) ]
args = [ 'send' ] + send_opts + [ '{}@{}'.format(fs, snap) ]
pipecmd = remote_zfs_cmd + [ 'receive' ] + recv_opts + [ remote_target ]