avoid Warning: incremental source didn't specify type, assuming snapshot. Use '@' or '#' prefix to avoid ambiguity
This commit is contained in:
parent
88f055716e
commit
5d2e705d42
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ do
|
|||
echo "making new snapshot for ${pool}"
|
||||
zfs snapshot ${dataset}@newsync || alert
|
||||
echo "sending snapshot"
|
||||
zfs send -i prevsync ${dataset}@newsync | ssh -q ${bro} "zfs receive -vFd zdata" || alert
|
||||
zfs send -i @prevsync ${dataset}@newsync | ssh -q ${bro} "zfs receive -vFd zdata" || alert
|
||||
echo "cleaning"
|
||||
zfs destroy ${dataset}@prevsync || alert
|
||||
zfs rename ${dataset}@newsync ${dataset}@prevsync || alert
|
||||
|
|
Loading…
Reference in a new issue