From 211645891211c8b5ade7598e32648bd40c9f2e49 Mon Sep 17 00:00:00 2001 From: Otho Date: Sun, 20 Nov 2022 22:22:20 -0500 Subject: [PATCH] Remove unneeded creation, fix op order. --- backup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index fd4c8c1..d15d641 100755 --- a/backup.sh +++ b/backup.sh @@ -60,13 +60,12 @@ get_latest_snapshot() setup_aggregator() { - zfs allow -u ${BG_USER} send,snapshot,hold ${BG_ROOT} create_datasets + zfs allow -u ${BG_USER} send,snapshot,hold ${BG_ROOT} } setup_mirror() { - zfs create -p $BG_ROOT create_datasets zfs allow -u ${BG_USER} send,snapshot,hold ${BG_ROOT} zfs allow -u ${BG_USER} \