Skip to content

"multiple snapshots cannot be sent from a bookmark" #15856

Answered by rincebrain
sgsunder asked this question in Q&A
Discussion options

You must be logged in to vote

It says in the message that you cannot do that, and why.

The man page says:

     zfs send [-DLPVRbcehnpsvw] [[-I|-i] snapshot] snapshot
     zfs send [-DLPVcensvw] [-i snapshot|bookmark] filesystem|volume|snapshot

note how -R and -I are not included in the one that can take bookmarks.

Conceptually, one could implement support for -I or -R with bookmarks, but nobody has. Feel free to doso if you need it, otherwise I'd suggest just sending one and then -R -i from that one to the rest, if you need it.

(I'd also generally discourage using -R, because it tries to do "all in one" but it turns out there's a lot of really gross edge cases that you can't handle automatically, so you'd end up need…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sgsunder
Comment options

You must be logged in to vote
1 reply
@rincebrain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants