From a22c2d35f764c257003f3a6e8e18b77370ecc8ea Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sat, 20 Apr 2019 10:48:16 +0200 Subject: [PATCH] use send options on initial replication --- zsnaplib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsnaplib/__init__.py b/zsnaplib/__init__.py index f0e3676..37a072e 100644 --- a/zsnaplib/__init__.py +++ b/zsnaplib/__init__.py @@ -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 ]