Make sure zfs snapshots sync properties
This commit is contained in:
parent
9fe284294a
commit
394b0b117d
@ -38,7 +38,7 @@ class BatchManager:
|
|||||||
|
|
||||||
def __exec(self, source_key, destination_key):
|
def __exec(self, source_key, destination_key):
|
||||||
for config in self.__config_list:
|
for config in self.__config_list:
|
||||||
syncoid_cmd = ["/usr/sbin/syncoid", "--no-sync-snap", "--preserve-properties"]
|
syncoid_cmd = ["/usr/sbin/syncoid", "--no-sync-snap", "--sendoptions=\"p\""]
|
||||||
if config.get("recursive", False):
|
if config.get("recursive", False):
|
||||||
syncoid_cmd.append("--recursive")
|
syncoid_cmd.append("--recursive")
|
||||||
if config.get("skip_parent", False):
|
if config.get("skip_parent", False):
|
||||||
|
Loading…
Reference in New Issue
Block a user