Include all snapshots when migrate storage zfs to zfs.

This commit is contained in:
Wolfgang Link
2016-03-16 14:24:35 +01:00
committed by Dietmar Maurer
parent 61d34272e8
commit 2d22db9a99

View File

@ -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);