The directions in the wiki make it sound like this is pretty straight forward, however I don't seem to be able to make it work.
Source - Before:
Destination - Before:
Operation (note that I ended up having to enter my password 4 times):
Looking in the GUI at the destination side I do see the subvol in the storage but it shows 0 bytes, and I don't see the VM listed at all.
Source - Before:
Code:
root@hv2:~# zfs list -r rpool
NAME USED AVAIL REFER MOUNTPOINT
rpool 51.1G 174G 96K /rpool
rpool/ROOT 5.27G 174G 96K /rpool/ROOT
rpool/ROOT/pve-1 5.27G 174G 5.27G /
rpool/subvol-118-disk-1 874M 24.1G 873M /rpool/subvol-118-disk-1
rpool/swap 30.8G 204G 64K -
Destination - Before:
Code:
root@proxmox-test1:/rpool/ROOT/pve-1# zfs list -r rpool
NAME USED AVAIL REFER MOUNTPOINT
rpool 5.05G 235G 96K /rpool
rpool/ROOT 812M 235G 96K /rpool/ROOT
rpool/ROOT/pve-1 812M 235G 812M /
rpool/swap 4.25G 239G 64K -
Operation (note that I ended up having to enter my password 4 times):
Code:
root@hv2:~# pve-zsync sync --source 118 --dest 10.0.75.13:rpool --verbose --maxsnap 2
root@10.0.75.13's password:
WARN: COMMAND:
ssh root@10.0.75.13 -- zfs list -rt snapshot -Ho name rpool/subvol-118-disk-1@rep_default_2016-01-14_23:38:51
GET ERROR:
cannot open 'rpool/subvol-118-disk-1@rep_default_2016-01-14_23:38:51': dataset does not exist
send from @ to rpool/subvol-118-disk-1@rep_default_2016-01-15_09:43:14 estimated size is 1.27G
total estimated size is 1.27G
TIME SENT SNAPSHOT
root@10.0.75.13's password: 09:43:22 53.9K rpool/subvol-118-disk-1@rep_default_2016-01-15_09:43:14
09:43:30 53.9K rpool/subvol-118-disk-1@rep_default_2016-01-15_09:43:14
09:43:31 49.9M rpool/subvol-118-disk-1@rep_default_2016-01-15_09:43:14
... omitted for brevity ...
09:43:45 1.24G rpool/subvol-118-disk-1@rep_default_2016-01-15_09:43:14
root@10.0.75.13's password:
root@10.0.75.13's password:
Looking in the GUI at the destination side I do see the subvol in the storage but it shows 0 bytes, and I don't see the VM listed at all.