Fixed broken backup snapshotting of non-root subvolumes on rollbacks
This commit is contained in:
parent
f14ba56e59
commit
7576a5222d
2
snapsh
2
snapsh
|
@ -180,6 +180,8 @@ rollback() {
|
|||
let INDEX=${ROLLBACK_TARGET}-1
|
||||
TARGET=${SNAPSHOTS[${INDEX}]}
|
||||
. ${TARGET}/.snapsh
|
||||
|
||||
SUBVOLUME=${SOURCE_SUBVOLUME}
|
||||
|
||||
printf "\nYou are about to roll back to snapshot ${ROLLBACK_TARGET}: ${DATE}, subvolume ${SOURCE_SUBVOLUME}, type ${TYPE}, ${DESCRIPTION}.\n\nAre you sure (yes/no)? "
|
||||
read
|
||||
|
|
Loading…
Reference in New Issue