Skip to content
Discussion options

You must be logged in to vote

I know this is exceptionally old but I suspect I understand what hhb777 is trying to accomplish since I was trying to do the same thing.

You will want to destroy the existing encrypted dataset 'pool2/target' and then do a send and receive using override flags if youre trying to change the passphrase or key format or some other parameter as you move the pool.

As an example:

zfs create -o encryption=on -o keyformat=passphrase pool1/source

zfs snapshot pool1/source@snap1
zfs send -w pool1/source@snap1 | zfs receive -s -o encryption=on -o keyformat=passphrase pool2/target

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rincebrain
Comment options

@hhb777
Comment options

@rincebrain
Comment options

@nonanonymousanon
Comment options

Answer selected by hhb777
@hhb777
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
3 participants