So here’s the kicker. The “Include Dataset Properties” and “Properties Exclude”, work as advertised (whether you use the GUI or command-line.)
With the one exception… encryption.
If the source dataset is encrypted, specifying “Include Dataset Properties” (i.e, zfs send -p) automatically adds the -w flag for a “raw stream”.
This means that -x encryption (or “Properties Exclude”) to have the destination inherit its encryption properties from the parent will only work if the source is not encrypted.
Therefor, you’re forced into an “all or nothing” in regards to the destination dataset’s properties… if the source is encrypted.
So you have two options:
- Uncheck “Include Dataset Properties” and write
encryptionin the “Properties Exclude” field.
Or…
- Leave “Include Dataset Properties” checked, and leave “Properties Exclude” blank, which will result in a “raw stream” (and locked destination, unless you explicitly unlock it).
Option 2 is basically what you’ve been doing from the beginning.