]> git.proxmox.com Git - pve-guest-common.git/commitdiff
replication: we must call storage_migrate with with_snapshots true
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 3 Jul 2017 09:58:41 +0000 (11:58 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 3 Jul 2017 09:58:41 +0000 (11:58 +0200)
PVE/Replication.pm

index e176638c82a40ef349840e0ecbe2289fa340a95f..e53928e28c7d4d54a03e1932238bf4ef48b1f335 100644 (file)
@@ -152,7 +152,7 @@ sub replicate_volume {
 
     my $ratelimit_bps = int(1000000*$rate) if $rate;
     PVE::Storage::storage_migrate($storecfg, $volid, $ssh_info, $storeid, $volname,
-                                 $base_snapshot, $sync_snapname, $ratelimit_bps, $insecure);
+                                 $base_snapshot, $sync_snapname, $ratelimit_bps, $insecure, 1);
 }