Replies: 1 comment 2 replies
-
If you lack a snapshot in common between src and dst, you get to start over. Personally, I'd probably add bookmarks for the intervening snapshots on the source so that if this case arose, I could just do |
Beta Was this translation helpful? Give feedback.
-
A very frequent problem I have is this:
zfs send -I pool/fs@most_recent_snap | something
zfs send -t token | something
fails withsnapshot pool/fs@some_intermediate_snap not found
The problem is that something deleted
some_intermediate_snap
on the source side. It may have happened during the original transfer, but that's supposed to be ok becausezfs send
puts a hold on all snapshots. But once the transfer got interrupted, the snapshots would get automatically deleted. Or, it may have happened after the original transfer got interrupted. Either way, the receive_resume_token is now useless and I need to start from scratch.What would be the best solution to this problem? My only ideas are:
-I
. Instead, use-i
, placing a user hold on each incremental snapshot. But this would make my wrapper script much more complicated.zfs send
that would cause it to leave its holds in place after a transfer failure, rather than cleaning them up.Would option 2 be acceptable? Are there any other possibilities?
Beta Was this translation helpful? Give feedback.
All reactions