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} \