[pve-devel] [PATCH pve-zsync] improve reliability and recover chnged snapshots on source
Wolfgang Link
w.link at proxmox.com
Thu Nov 5 08:56:27 CET 2015
---
pve-zsync | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 1029b30..d16b60a 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -830,8 +830,8 @@ sub send_image {
push @$cmd, \'|';
push @$cmd, 'ssh', "root\@$dest->{ip}", '--' if $dest->{ip};
- push @$cmd, 'zfs', 'recv', '--';
- push @$cmd, "$target\@$source->{new_snap}";
+ push @$cmd, 'zfs', 'recv', '-F', '--';
+ push @$cmd, "$target";
eval {
run_cmd($cmd)
--
2.1.4
More information about the pve-devel
mailing list