removed -F from incremental
This commit is contained in:
parent
0f93519cf0
commit
4b53cb7f9e
@ -111,7 +111,8 @@ if [[ $SUCCESS == "true" ]]
|
||||
then
|
||||
LASTSNAP="backup_$LASTBACKUP"
|
||||
echo "$(date +%Y-%m-%d_%H:%M:%S): Sending incremental snapshot from $LASTSNAP"
|
||||
zfs send -R -i "$SRCZFS"@"$LASTSNAP" "$SRCZFS"@"$SNAPNAME" | pv -L $LIMIT | ssh $DESTHOST sudo zfs recv -F $DESTZFS
|
||||
ssh $DESTHOST sudo zfs rollback "$DESTZFS"@"$LASTSNAP"
|
||||
zfs send -R -i "$SRCZFS"@"$LASTSNAP" "$SRCZFS"@"$SNAPNAME" | pv -L $LIMIT | ssh $DESTHOST sudo zfs recv $DESTZFS
|
||||
else
|
||||
if [[ $LASTBACKUP != "-" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user