Make sure zfs snapshots sync properties

This commit is contained in:
Wojciech Kozlowski 2023-10-01 02:06:19 +02:00
parent 9fe284294a
commit 394b0b117d

View File

@ -38,7 +38,7 @@ class BatchManager:
def __exec(self, source_key, destination_key):
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):
syncoid_cmd.append("--recursive")
if config.get("skip_parent", False):