scurrier
Patron
- Joined
- Jan 2, 2014
- Messages
- 297
Pretty much what the title says. Is there a way to copy a ZFS dataset that is set to Windows permissions and share type so that the ACLs and important share properties are maintained? I'd like to copy a ZFS dataset w/ snapshots and not have to redo all the permissions. Using a manual send/receive, I cannot get the target to take anything other than UNIX permissions and share type, even though the source is Windows permissions and share type.
Here's the command I'm currently using, if it helps.
I'm also trying to increase the record size and change the compression, but I'd give that up to keep the ACLs/share type if required.
I don't know what the
I'm surprised there is no way to manually "copy" (send/recv w/ FreeNAS special sauce for permissions/share) a dataset in the web GUI.
Here's the command I'm currently using, if it helps.
zfs send -Rv backupone/bfirstmain/firstmain@auto-20180830.2202-30h | \
zfs recv -F -v \
-o recordsize=1M -x recordsize=1M \
-o compression=lz4 -x compression=lz4 \
-o "org.freenas:permissions_type=ACL" -x "org.freenas:permissions_type=ACL" \
-o readonly=off -x readonly=off \
firstvol/firstmain
I'm also trying to increase the record size and change the compression, but I'd give that up to keep the ACLs/share type if required.
I don't know what the
org.freenas:permissions_type
property does. I am just taking wild guesses at this point, thinking that since it's freenas-specific, it probably has something to do with what I want.I'm surprised there is no way to manually "copy" (send/recv w/ FreeNAS special sauce for permissions/share) a dataset in the web GUI.