pve-zsync: invert source and destination

dendi

Renowned Member
Nov 17, 2011
126
9
83
Hi,
Is it safe to invert source and target? For example:

power off vm 100 on PVE-A and perform the last sync from PVE-B:

Code:
PVE-B# pve-zsync sync --source PVE-A:100 --dest storage --name backup --method ssh

power on th vm 100 on PVE-B and invert source and dest (from PVE-A):

Code:
PVE-A# pve-zsync sync --source PVE-B:100 --dest storage --name backup --method ssh

Thank you
 
Hi,
yes, it should be fine. pve-zsync will search for the latest snapshot with the same name on the target and do an incremental send from there if possible (it will be in your case) and complain otherwise.