Skip to content
Lars Schotte edited this page Jun 18, 2019 · 3 revisions

Welcome to the zfs_daily_snapper wiki!

In order for the scripts to work, you might need to add following rule into your sudoers:

/sbin/zfs destroy *@*, ! /sbin/zfs destroy * *

Point being that regex-es do not seem to work correctly using sudoers config, so we are stuck with allowing all zfs destroy commands where a @-separator for snapshots is included, which is not the best solution because it allows the user to give arbitrary commands before and after. In order to work around that we need to forbid every command where a whitespace is given.

Clone this wiki locally