mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-06-09 01:52:07 +03:00
travis test without any zfs send options
This commit is contained in:
parent
d2fe9b9ec7
commit
4dc4bdbba5
@ -854,19 +854,19 @@ class ZfsDataset():
|
|||||||
|
|
||||||
cmd.extend(["zfs", "send", ])
|
cmd.extend(["zfs", "send", ])
|
||||||
|
|
||||||
#all kind of performance options:
|
# #all kind of performance options:
|
||||||
if "-L" in self.zfs_node.supported_send_options:
|
# if "-L" in self.zfs_node.supported_send_options:
|
||||||
cmd.append("-L") # large block support
|
# cmd.append("-L") # large block support
|
||||||
|
|
||||||
if "-e" in self.zfs_node.supported_send_options:
|
# if "-e" in self.zfs_node.supported_send_options:
|
||||||
cmd.append("-e") # WRITE_EMBEDDED, more compact stream
|
# cmd.append("-e") # WRITE_EMBEDDED, more compact stream
|
||||||
|
|
||||||
if "-c" in self.zfs_node.supported_send_options:
|
# if "-c" in self.zfs_node.supported_send_options:
|
||||||
cmd.append("-c") # use compressed WRITE records
|
# cmd.append("-c") # use compressed WRITE records
|
||||||
|
|
||||||
if not resume:
|
# if not resume:
|
||||||
if "-D" in self.zfs_node.supported_send_options:
|
# if "-D" in self.zfs_node.supported_send_options:
|
||||||
cmd.append("-D") # dedupped stream, sends less duplicate data
|
# cmd.append("-D") # dedupped stream, sends less duplicate data
|
||||||
|
|
||||||
#raw? (for encryption)
|
#raw? (for encryption)
|
||||||
if raw:
|
if raw:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user