bugfix: incremental behaviour modifiers will no longer remain in effect unless needed

This commit is contained in:
Tamás Gérczei 2017-08-29 15:53:25 +02:00
parent 8b632d46e6
commit 65fb86e7dc
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ function backup() {
# send any previous snapshots
/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
# send backup