-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zfs receive does neither support -o property=value nor -x property #1350
Comments
Someone in the FreeBSD community has been working on this and getting review feedback from @ahrens. I'm not sure what the current status is. |
@Milan-Benes This is great thanks! If you could open a pull request with the proposed patch we can get it properly reviewed. This way we'll be sure not to lose track of it. |
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
I've opened a pull request with the proposed patch against the latest master source so we don't lose this work. But it still needs a good review before it can be merged, it would be great is someone who needs this support could finish up this work. |
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
I updated the pull request (#1867) with my comments. If they belong here, let me know and I will copy/paste. |
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (WIP) Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (WIP) Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (WIP) Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (WIP) Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (WIP) Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…errides Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
…xisting snapshots by adding the option "-s" to zfs receive. Signed-off-by: Turbo Fredriksson <[email protected]> Closes: openzfs#2666
…errides Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350 NOTES: Man page updates missing and must be added, see patch: http://blog.multiplay.co.uk/dropzone/freebsd/zfs-recv-properties.patch
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
Adds support for property overrides (-o property=value), property excludes (-x property) and dataset limits (-l <volume|filesystem>) to zfs receive. Both -o and -x options mirror the functionality already available in Oracle's ZFS implementation which is also mentioned in the upstream feature request openzfs#2745: The -l option allows receive to be limited to specific datasets within the stream effectively allowing partial restores from a multi dataset stream. References: https://www.illumos.org/issues/2745 Ported-by: Milan-Benes Issue openzfs#1350
I wonder a bit because on my debian wheezy box zfs recv shows:
So I expected that was already included. Today I set up a new box with debian jessie (official zfs build as well, same version: 0.6.4) - and there "-x"/"-o" are missing:
Note that the reference to the property list is still there... |
|
Wheezy: zfsutils 0.6.4-1.1-1-wheezy |
|
I am not sure where to post this and I am a bit confused due to the several issues for -o and -x here. What is the current state? From my tests neither -x is working nor overriding using -o is with 0.6.5.4 regardless of -p, is that correct? |
i`m also sadly missing this feature |
And to add to the confusion, the official ZoL packages in Debian are also missing this feature, so when you upgrade from ZoL provided 0.6.5.7-8-* to Debian provided 0.6.5.8-1, you face the regression of losing -x / -o support :-( |
This allows users to specify "-o property=value" to override and "-x property" to exclude properties when receiving a zfs send stream. Both native and user properties can be specified. This is useful when using zfs send/receive for periodic backup/replication because it lets users change properties such as canmount, mountpoint, or compression without modifying the source. References: https://www.illumos.org/issues/2745 https://www.illumos.org/issues/3753 Reviewed by: Matthew Ahrens <[email protected]> Reviewed-by: Alek Pinchuk <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #1350 Closes #5349
Receiving ZFS datastreams on Solaris allows properties to be overwritten using -o or ignored using -x, which is useful, e.g. to enable compression on replication servers. This is not supported in ZoL's zfs command.
The text was updated successfully, but these errors were encountered: