Its some times useful to allow filtering / overriding of zfs properties on receive for example if a disk has a quota set the receive can fail due to changes to the way the data is compressed resulting in exceeding the quota.
The attached patch adds both -x (exclude property) as well as -o (override property) to zfs receive as requested by the upstream ticket:-
This mirrors and extends the functionality available in Sun's ZFS receive.
Fix: Apply the attached patch
Patch attached with submission follows:
Over to maintainer(s).
I'll take it.
Is this merged yet ?
Afraid not, need to get some time to clean up based on feedback from illumos
Seems that FreeNAS is using this already:
For bugs that match the following
- Status Is In progress
- Untouched since 2018-01-01.
- Affects Base System OR Documentation
Reset to open status.
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.