[SOLVED] Test pve-zsync, but will not work

fireon

Distinguished Member
Oct 25, 2010
4,511
479
153
Austria/Graz
deepdoc.at
Hello,

i would like to test the pve-zsync feature. Testing via wikipage.

Code:
root@virtu01:~# pve-zsync sync --source 107 --dest target.local:v-machines/backup --verbose --maxsnap 2 --name utemplate
COMMAND:
    zfs list -r -t snapshot -Ho name, -S creation v/vm-107-disk-1
GET ERROR:
    cannot open 'v/vm-107-disk-1': dataset does not exist

So what? The error makes no sense for me. What is "v/vm-107-disk-1" Where had the tool this info? This does not exists. On the targetmachine, this does exist: "v-machines/backup"

Thanks
Best Regards
 
Last edited:
Found something. When i copy with this command:

Code:
pve-zsync sync --source v-machines/vm-107-disk-1 --dest "target.local:v-machnes/backup" --verbose --maxsnap 2 --name utemplate

it begin to copy. But where? On source and on target machine nothing were changed. Nload say also nothing. But i can see an copyprocess. This process does not end.

Best Regards
 
Hi,

Ok I have to improve the error msg, but what you are doing is not possible.
Because we resolve on IP and IPv6 and names are not supported at the moment.

How do you see it starts to copy?
 
Yes, sorry, use IP too. I have only changed here in the thread. I post the whole terminaloutput at evening.
 
Sorry my fault. I did an mistake in the command. Target was v-machnes, but i should been v-machines. After that it works. But the thing is i got no error message. The same like the last output:


Code:
root@virtu01:~# pve-zsync sync --source v-machines/vm-107-disk-1 --dest "192.168.0.2:v-machines/backup" --verbose --maxsnap 2 --name test2
send from @ to v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03 estimated size is 39.2G
total estimated size is 39.2G
TIME        SENT   SNAPSHOT
root@192.168.0.2's password: 23:06:04   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:05   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:06   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:07   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:08   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:09   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:10   42.7K   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03


23:06:11   95.1M   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:12    168M   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03
23:06:13    245M   v-machines/vm-107-disk-1@rep_test2_2015-11-02_23:06:03

Ok here you can see i've writen the command. When i do enter the outpu beginns. After that emty line i enterd the password. Then you can see the copy process really starts. Yesterday i had an similar output, but without the lines after the emty line. So i got not really an error from the programm.

Best Regards
 
Last edited:
Do you try a local backup ?
if yes you must use only --dest v-machines/backup
 
No local Backup. The goal was to send an VM to another PVEhost. Yes i can send an Dataset/Pool, but not the whole VM. When i try

Code:
pve-zsync sync --source 107 --dest "192.168.0.2:v-machines/backup" --verbose --maxsnap 2 --name test2

Then i get this error:

Code:
COMMAND:
	zfs list -r -t snapshot -Ho name, -S creation v/vm-107-disk-1
GET ERROR:
	cannot open 'v/vm-107-disk-1': dataset does not exist

It looks likes that the name of the pool does not work correctly. I don't know, but 'v/vm-107-disk-1'... can stand for 'v-machines/vm-107-disk-1'
 
your on version 1.6-2?
 
No, 1.6.-1. I see there is an dist-upgrade. I do this, and test again.
 
There is still a bug in it.
retest when the new patch is online.
I found the bug i will provide a patch in some days.
Thanks for testing and helping me improve the tool.
 
Last edited:
There is still a bug in it.
retest when the new patch is online.
I found the bug i will provide a patch in some days.
Thanks for testing and helping me improve the tool.

With pleasure.

Best Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!