[SOLVED] pve-zsync : " invalid for option maxsnap"

RobFantini

Famous Member
May 24, 2012
2,042
109
133
Boston,Mass
after some edits and upgrades I get a warning on all or most jobs:

Code:
10  * * * * root pve-zsync sync --source 10.2.2.10:tank/kvm/vm-215-disk-1 --dest tank/pve-zsync --name wiki --maxsnap 96 --method ssh

results in the backup done, but a warning email:
Code:
Value "" invalid for option maxsnap (number expected)

using Version: 1.6-12 on source and target hosts

Any clues to fix this?
 
I had edited the crontab directly to change IP addresses. that caused the issue.

to fix i just ran pve-zsync enable :

Code:
pve-zsync sync --source 10.2.2.65:tank/kvm/vm-102-disk-1 --dest tank/pve-zsync --name cups --maxsnap 14 --method ssh
Use of uninitialized value in string eq at /usr/sbin/pve-zsync line 552.

#
# this fixes it
#
pve-zsync enable --source 10.2.2.65:tank/kvm/vm-102-disk-1 --name cups

#
# Then there  was no warning here:
#
pve-zsync sync --source 10.2.2.65:tank/kvm/vm-102-disk-1 --dest tank/pve-zsync --name cups --maxsnap 14 --method ssh