From 3f386056a93c0816bdb7d877f91ad00a96d98dc3 Mon Sep 17 00:00:00 2001 From: Bike Dude Date: Wed, 8 Apr 2020 14:10:38 +0200 Subject: [PATCH] fix zfs snapshot recursive --- usr/local/share/bastille/zfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/zfs.sh b/usr/local/share/bastille/zfs.sh index c2120c0e..419def1b 100644 --- a/usr/local/share/bastille/zfs.sh +++ b/usr/local/share/bastille/zfs.sh @@ -39,7 +39,7 @@ usage() { zfs_snapshot() { for _jail in ${JAILS}; do echo -e "${COLOR_GREEN}[${_jail}]:${COLOR_RESET}" - zfs snapshot "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}" + zfs snapshot -r "${bastille_zfs_zpool}/${bastille_zfs_prefix}/jails/${_jail}"@"${TAG}" echo done }