Closed bellhyve closed 6 months ago
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
target/dataset @a @b @c
target/dataset:c
target/dataset@b @d
This is working in branch feature-clone-rotate.
feature-clone-rotate
This works after a rollback event, after a source rename/clone event, or after a target diversion for any reason.
rollback
rename/clone
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