ZFS: exclude one FS from recurive snapshot creation? Or some equivalent to "nodump" for dataset?

Lev Serebryakov lev at FreeBSD.org
Mon Apr 20 09:29:45 UTC 2015


Hello Freebsd-fs,

 I have set of ZFS filesystems, one fielsystem per user like this:

zroot/home/group1/user11
zroot/home/group1/user12
zroot/home/group1/user13
zroot/home/group2/user21
zroot/home/group2/user22
zroot/home/group3/user31
...

 I want to create complete snapshots of "zroot/home" tree regularly (with
zfSnap), but I have one "user" which holds a huge amount of
easy-reconstructible data, which I don't wont to store in snapshots.

 Is it possible to exclude one dataset (filesystem) from "zfs snap -r"?

 I don't want to enumerate all but this filesystem in configuration file, as
it is error-prone and requires editing configs each time user is created or
removed.

P.S. I start to understand how much I love "nodump" flag on UFS and it usage
with "dump" command! Absence of such functionality for "zfs send" is really
pity.

-- 
Best regards,
 Lev                          mailto:lev at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 960 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20150420/d12e53c1/attachment.sig>


More information about the freebsd-fs mailing list