oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
604 stars 136 forks source link

Can znapzend avoid sending individual properties (e.g. casesensitivity) to target? #641

Closed xenophon61 closed 3 months ago

xenophon61 commented 3 months ago

Host is a Proxmox server with a 10Tb zpool created with "casesensitivity=on" (should have known better).

I'm using znapzend to backup on an OS X machine, running OpenZFSonOSX. Both are on zfs version 5.

MacOS doesn't really support case-sensitive file systems, and I would like to filter this property out when the zfs send/receive takes place. All relevant Apple-specific properties (e.g. com.apple.mimic, etc) are set appropriately.

Seems to me that the target is populated appropriately during --runonce, without setting the casesensitivity flag, but in the end it is reset to the host's properties. This happens with root and non-privileged user attempts.

Is it possible to prevent setting the "casesensitivity" zfs property by a znapzend configuration parameter?

Thanks in advance!

Xen

xenophon61 commented 3 months ago

Sorry for the noise in the Issues section. Should have looked up the zfs documentation, which is explicit in this respect:

"set-once properties bound to the received data, such as normalization and casesensitivity, cannot be set at receive time even when the datasets are newly created by zfs receive"

Thank you. Will close the issue.

Greetings from Athens.