sanoid icon indicating copy to clipboard operation
sanoid copied to clipboard

syncoid feature request: replicate source inherited properties for child datasets that are not inherited at destination

Open evan314159 opened this issue 6 months ago • 1 comments

syncoid --preserve-properties preserves locally set properties but not inherited properties that would be not be inherited at the destination. Example:

tank sets acltype=posix (default for TrueNAS pools) tank/home sets acltype=nfsv4 tank/home/evan inherits acltype=nfsv4 tank/home/evan/music inherits acltype=nfsv4

backup sets acltype=posix (default for TrueNAS pools)

syncoid --recursive --preserve-properties tank/home/evan backup/evan

replicates the datasets but with acltype inherited from backup = posix, and not acltype=nfsv4 as was inherited from tank/home.

The desired result in this case would be to set acltype=nfsv4 locally on backup/evan and inherit acltype on backup/evan/music. It would also need to preserve some settings that are intended to be different, for example setting copies=2 on backup.

evan314159 avatar Jun 28 '25 00:06 evan314159

Created PR #1013 to implement this functionality

evan314159 avatar Jun 28 '25 08:06 evan314159