Send zfs properties with snapshot

Is it possible to send properties with snapshots to easy the restore later on?

I've seen Solaris with option "-e" that makes receiving end inherit all properties of sending snapshot, but I don't see it in man pages here.
 
Does this help ?

Code:
           -R

               Generate a replication stream package, which will replicate the
               specified  filesystem,  and  all descendent file systems, up to
               the named snapshot. When received, all  properties,  snapshots,
               descendent file systems, and clones are preserved.
 
Well, that's the thing, is it working like it's suppose to, or I'm not getting it.
When I do:
# zfs send -vR zpool@1 | zfs recv -vu backup/zpool

The newly created filesystems have inherited properties from backup, not from original stream.
When I say properties I mean compression or atime.

To ask the question differently, if I'm using -R command, then how to make new filesystems NOT inherit original properties?
 
bbzz said:
Is it possible to send properties with snapshots to easy the restore later on?

I've seen Solaris with option "-e" that makes receiving end inherit all properties of sending snapshot, but I don't see it in man pages here.

Have you tried with -e on FreeBSD? The man pages for ZFS aren't exactly up-to-date nor match the code that's actually installed. For example, there's no listing of the -F or -m options to "zpool import" (yes, there are PRs about this already).
 
I tried but,
Code:
invalid option 'e'
usage:
	send [-RDp] [-[iI] snapshot] <snapshot>

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow

So I take it that FreeBSD version doesn't have this feature yet?

Thanks both of you.
 
Back
Top