bugfix: incremental behaviour modifiers will no longer remain in effect unless needed
This commit is contained in:
parent
8b632d46e6
commit
65fb86e7dc
|
@ -108,6 +108,9 @@ function backup() {
|
||||||
# send any previous snapshots
|
# send any previous snapshots
|
||||||
/usr/sbin/zfs send -R${R_SNAPMODIFIER} ${LASTSNAP} | ${RMOD} /usr/sbin/zfs recv -Feuv ${SAVETO} 2>&1 >> ${LOGFILE}
|
/usr/sbin/zfs send -R${R_SNAPMODIFIER} ${LASTSNAP} | ${RMOD} /usr/sbin/zfs recv -Feuv ${SAVETO} 2>&1 >> ${LOGFILE}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
# ensure this does not remain in effect
|
||||||
|
unset SNAPMODIFIER R_SNAPMODIFIER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# send backup
|
# send backup
|
||||||
|
|
Loading…
Reference in New Issue