oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
608 stars 137 forks source link

Allow disabling of znapzend on children of recursively enabled pool #377

Closed driesmp closed 6 years ago

driesmp commented 6 years ago

Hello,

I find it easy to just recursively enable my root pool for znapzend to work on. Altough, I would like to disable only a few datasets that live under the root pool. I created my config on zroot. I want to disable my config on zroot/usr/src.

xxxx@vados:~ # sudo znapzendzetup disable zroot/usr/src ERROR: cannot disable backup config for zroot/usr/src. Did you create it?

Can't znapzend simply tune the "org.znapzend:enabled on" on the child to off?

oetiker commented 6 years ago

recursive backups rely on recursive snapshots and these are a function of zfs ... you can not 'disable' them ... what you could do (with a patch) is teach znapzend to then not send snapshots of a particular fileset to any destinations ....

driesmp commented 6 years ago

I see, is this one similar to "issue" 345?