bellhyve / zelta

ZFS tools used for data migration and backup management.
Other
38 stars 6 forks source link

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

Closed bellhyve closed 6 months ago

bellhyve commented 8 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

bellhyve commented 7 months ago

This is working in branch feature-clone-rotate.

bellhyve commented 6 months ago

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