EXCLUDES="" not working
Issue #2
new
When using
EXCLUDES=""
I get the following error messages
cannot open 'tank/usr/ports': dataset does not exists
cannot open 'tank/usr/src': dataset does not exist
The solution to this problem is using
EXCLUDES=" "
Be aware of the white space!
As far as I understand it, the reason for this is
- The above mentioned datasets do not exist indeed.
zfssnap.sh
loads the defaultEXCLUDES
when handing over an empty variable.
I guess this should be changed in the documentation or the code updated.
For reference: I already contacted the FreeBSD community here http://docs.freebsd.org/cgi/mid.cgi?20141208191902.GG31701.