dont keep backup snapshots

This commit is contained in:
mwiegand 2022-04-09 16:31:55 +02:00
parent b528e9b94b
commit 33d973927c

View file

@ -45,7 +45,7 @@ fi
if [[ "$?" == "0" ]]
then
zfs bookmark "$source_dataset@$new_bookmark" "$source_dataset#$new_bookmark"
#zfs destroy "$source_dataset@$new_bookmark" # keep snapshots?
zfs destroy "$source_dataset@$new_bookmark" # keep snapshots?
echo "SUCCESS"
else
zfs destroy "$source_dataset@$new_bookmark"