From 0523690b1e1cd4a6b2348fbf4cdff18346d6b8b3 Mon Sep 17 00:00:00 2001 From: bds-congnguyen <67733377+bds-congnguyen@users.noreply.github.com> Date: Wed, 3 May 2023 15:15:53 +0700 Subject: [PATCH] Update ZFSPoolPlugin.pm fix "cannot send encrypted dataset may not be sent with properties without raw flag" by adding `w` aka `--raw` option --- PVE/Storage/ZFSPoolPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 951d027..9931634 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -752,7 +752,7 @@ sub volume_export { # For zfs we always create a replication stream (-R) which means the remote # side will always delete non-existing source snapshots. This should work # for all our use cases. - my $cmd = ['zfs', 'send', '-Rpv']; + my $cmd = ['zfs', 'send', '-Rwpv']; if (defined($base_snapshot)) { my $arg = $with_snapshots ? '-I' : '-i'; push @$cmd, $arg, $base_snapshot;