Include all snapshots when migrate storage zfs to zfs.
This commit is contained in:
committed by
Dietmar Maurer
parent
61d34272e8
commit
2d22db9a99
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user