[pve-devel] [PATCH 4/4] fix incremental sync

Wolfgang Link w.link at proxmox.com
Thu Jun 11 14:22:30 CEST 2015


wrong snapshot where be used.

Signed-off-by: Wolfgang Link <w.link at proxmox.com>
---
 pve-zsync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pve-zsync b/pve-zsync
index b458826..2575527 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -797,7 +797,7 @@ sub send_image {
     $cmd .= "-v " if $param->{verbose};
 
     if($source->{last_snap} && snapshot_exist($source ,$dest, $param->{method})) {
-	$cmd .= "-i $source->{all}\@$source->{old_snap} $source->{all}\@$source->{new_snap} ";
+	$cmd .= "-i $source->{all}\@$source->{last_snap} $source->{all}\@$source->{new_snap} ";
     } else {
 	$cmd .= "$source->{all}\@$source->{new_snap} ";
     }
-- 
2.1.4





More information about the pve-devel mailing list