From 2d22db9a998beb36ad6aad50f786d18c7880680b Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Wed, 16 Mar 2016 14:24:35 +0100 Subject: [PATCH] Include all snapshots when migrate storage zfs to zfs. --- PVE/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 140f8ae..a248773 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -512,7 +512,7 @@ sub storage_migrate { my $snap = "zfs snapshot $zfspath\@__migration__"; - my $send = "zfs send -pv $zfspath\@__migration__ \| ssh root\@$target_host zfs recv $zfspath"; + my $send = "zfs send -Rpv $zfspath\@__migration__ \| ssh root\@$target_host zfs recv $zfspath"; my $destroy_target = "ssh root\@$target_host zfs destroy $zfspath\@__migration__"; run_command($snap);