mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 04:25:06 +00:00
Remove unneeded creation, fix op order.
This commit is contained in:
parent
6234584bd1
commit
2116458912
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user