Really strange, the snapshots must be exists on both hosts. What say "pve-zsync list" on the host you added the job?
root@prometheus:~# pve-zsync list
SOURCE NAME STATE LAST SYNC TYPE CON
123 test2 ok 2018-03-23_21:21:01 qemu ssh
sorry for the question, but do you really have the right second host?
@weekly root pve-zsync sync --source v-machines/home --dest [2001:470:1e1b:589:ec4:7bfe:fabb:c725]:v-machines --name home --maxsnap 8 --method ssh
zfs list -t snapshot
v-machines/home@rep_home_2018-01-28_00:00:01 5.51G - 3.53T -
v-machines/home@rep_home_2018-02-04_00:00:02 70.8M - 3.53T -
v-machines/home@rep_home_2018-02-11_00:00:01 66.4M - 3.53T -
v-machines/home@rep_home_2018-02-18_00:00:01 69.9M - 3.53T -
v-machines/home@rep_home_2018-03-04_00:00:01 603M - 3.54T -
v-machines/home@rep_home_2018-03-11_00:00:01 799M - 3.54T -
v-machines/home@rep_home_2018-03-18_00:00:02 1.77G - 3.54T -
v-machines/home@rep_home_2018-03-25_00:00:01 18.1M - 3.54T -
zfs list -t snapshot
v-machines/home@rep_home_2018-01-28_00:00:01 5.52G - 3.53T -
v-machines/home@rep_home_2018-02-04_00:00:02 86.8M - 3.53T -
v-machines/home@rep_home_2018-02-11_00:00:01 81.0M - 3.53T -
v-machines/home@rep_home_2018-02-18_00:00:01 85.5M - 3.53T -
v-machines/home@rep_home_2018-03-04_00:00:01 622M - 3.53T -
v-machines/home@rep_home_2018-03-11_00:00:01 811M - 3.54T -
v-machines/home@rep_home_2018-03-18_00:00:02 1.78G - 3.54T -
v-machines/home@rep_home_2018-03-25_00:00:01 0B - 3.53T -
pve-zsync sync --source v-machines/home --dest [2001:470:1e1b:589:ec4:7bfe:fabb:c725]:v-machines --name home --maxsnap 8 --method ssh
zfs destroy -R vmdata/vmbackup
cannot destroy 'vmdata/vmbackup': dataset already exists
pve-zsync create --source 123 --dest 192.168.3.80:vmdata --verbose --maxsnap 7 --name test3
IPV4 and 6, that makes no difference. V-Machines is my Source and on the other machine also the targetpool. No there are no VM's there. The VM's are on an dataset. I sync no VM's, only the datasets from host1, so here HOME.So the only difference i had from this would be the IP which mine is IPV4, the part of v-machines is that where you also host your vms? on the 2nd host and 1st host?
No, look at the documentation, you need an dataset too.Meaning creating from scratch the job backing up vm 123 to host 2 which is going to vmdata?
No, but it make it much more easier. For example. if i sync VMXXX from host1 to host 2 then i have on host1 and host2 the dateset v-machines/HDD-vmdata-KVM. The advantage is that after moved the configfile to /etc/pve/qemu-server, i'am immediately able to start the VM, without change the config hddpath to special dataset like backup or vmbackup....do i need to have the same data sheet from host 1? as on host 1 i do not have data sheet /vmbackup
Snapshots by using zsync are always on both hosts.Thanks for the reply, but i thought the idea is to have the snapshots on the other host 2 rather then on host 1?
zfs create -s -V 400g
zfs create vmdata/vmbackup
zfs set quota=400g vmdata/vmbackup
would you mind elaborating please? I have used ZFS snapshots before and borg too I am just not sure how to combine those. Please share your solution at least the concept of it.ZFS snapshot and borgbackup of the snapshot to a NAS
Sure. Take a look at my post here where I show the procedure.would you mind elaborating please? I have used ZFS snapshots before and borg too I am just not sure how to combine those. Please share your solution at least the concept of it.