use send options on initial replication
This commit is contained in:
parent
ddc7029873
commit
a22c2d35f7
@ -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 ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user