mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-13 22:47:12 +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", ])
|
||||
|
||||
#all kind of performance options:
|
||||
if "-L" in self.zfs_node.supported_send_options:
|
||||
cmd.append("-L") # large block support
|
||||
# #all kind of performance options:
|
||||
# if "-L" in self.zfs_node.supported_send_options:
|
||||
# cmd.append("-L") # large block support
|
||||
|
||||
if "-e" in self.zfs_node.supported_send_options:
|
||||
cmd.append("-e") # WRITE_EMBEDDED, more compact stream
|
||||
# if "-e" in self.zfs_node.supported_send_options:
|
||||
# cmd.append("-e") # WRITE_EMBEDDED, more compact stream
|
||||
|
||||
if "-c" in self.zfs_node.supported_send_options:
|
||||
cmd.append("-c") # use compressed WRITE records
|
||||
# if "-c" in self.zfs_node.supported_send_options:
|
||||
# cmd.append("-c") # use compressed WRITE records
|
||||
|
||||
if not resume:
|
||||
if "-D" in self.zfs_node.supported_send_options:
|
||||
cmd.append("-D") # dedupped stream, sends less duplicate data
|
||||
# if not resume:
|
||||
# if "-D" in self.zfs_node.supported_send_options:
|
||||
# cmd.append("-D") # dedupped stream, sends less duplicate data
|
||||
|
||||
#raw? (for encryption)
|
||||
if raw:
|
||||
|
Loading…
x
Reference in New Issue
Block a user