bellhyve/zelta

A "rotate" option to fork a rolled-back backup dataset

Closed this issue · 2 comments

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

This is working in branch feature-clone-rotate.

This works after a rollback event, after a source rename/clone event, or after a target diversion for any reason.