A "rotate" option to fork a rolled-back backup dataset
Closed this issue · 2 comments
bellhyve commented
Let's rename the old dataset last element to the clone name. For example:
source/dataset@a @b @c [rollback to @b] @d
Old backup:
target/dataset @a @b @c
[ROTATE]
target/dataset:c
[contains snapshots a, b, c]
target/dataset@b @d
bellhyve commented
This is working in branch feature-clone-rotate
.
bellhyve commented
This works after a rollback
event, after a source rename/clone
event, or after a target diversion for any reason.