Replies: 2 comments
-
The 'from' snapshot in the -I syntax should specify a common snapshot, but |
Beta Was this translation helpful? Give feedback.
-
The problem is the origin snapshot belongs to the original dataset. You can create a send stream on the original dataset from the original dataset from "origin" snapshot, save it, promote the clone temporarily (it will move the origin snapshot to the clone). Then you can receive the steam on clone and after that promote the original dataset to make the clone a clone again. You will have to do that only once, after that both clone and dataset will have common snapshots to deal with. |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
how can I send incremental snapshots to a clone?
Scenario (simplified), one pool with name
rpool
:This works so far and gives the expected results. However, when I now do
I get the error message
How do I get around this problem?
The goal here is to restore the deleted snapshot
rpool/backup@2
. Since we can't send old snapshots to a dataset retroactively, the idea is to clone the first snapshot of the dataset in question (rpool/backup
), to add all later snapshots to the clone based on that, and finally to promote the clone.Coming back to the example, I know that I could could leave out the part with the clone and instead delete
rpool/backup@3
and incrementally sendrpool/data@2
andrpool/data@3
torpool/backup
. However, my situation is more complicated; put short, I don't want to destroy further snapshots inrpool/backup
.So why does sending the incremental snapshot to the clone not work? What I am doing wrong?
rpool/backup
was a literal copy ofrpool/data
, andrpool/clone
is a literal clone ofrpool/backup@1
, so the incremental sources should match.Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions