ZFS How to include jails in BECTL(8) snapshots

I have been enjoying using bectl(8), saving me a few times from re-intalling everything. As I understand the structure of bectl(8) (i.e. what filesystem is included in the snapshot) covers also packages located in /usr/local and /var. This makes it very useful when needing to revert from a faulty package upgrade.

For the same very reason I would like bectl to include also all the jails. Currently jails are managed by sysutils/bastille and make use of zfs, so the structure is

Code:
NAME                                     CANMOUNT  MOUNTPOINT
zroot/bastille                           on          /usr/local/bastille
zroot/bastille/jails                     on          /usr/local/bastille/jails
zroot/bastille/jails/jail1               on          /usr/local/bastille/jails/jail1 
...

How do I make sure the above is included in bectl filesystem structure? Do I achieve that by changing CANMOUNT from on to off:
Code:
NAME                                     CANMOUNT  MOUNTPOINT
zroot/bastille                           off        /usr/local/bastille

Is there any risks doing the above?
 
Back
Top