Best way to migrate data to encrypted pool?
Posted: Wed Jul 04, 2018 5:20 am
What is the best way to migrate an existing (unencrypted) ZFS dataset to an encrypted ZFS dataset?
I tried zfs send/receive, but get only an error message that the encrypted dataset cannot accept an unencrypted data stream.
Am I missing something? Or do I have to use a standard file sync tool such as rsync or ChronoSync for this?
This would be sad because in my experience, zfs send/recv would be much faster...
I tried zfs send/receive, but get only an error message that the encrypted dataset cannot accept an unencrypted data stream.
- Code: Select all
zfs send -ceLv src/myfiles@migration | zfs recv -s replica/encrypted/myfiles
...
cannot receive new filesystem stream: incompatible embedded data stream feature with encrypted receive.
Am I missing something? Or do I have to use a standard file sync tool such as rsync or ChronoSync for this?
This would be sad because in my experience, zfs send/recv would be much faster...