[SOLVED] PVE-ZSYNC odd issue?

killmasta93

Renowned Member
Aug 13, 2017
973
57
68
31
Hi
Currently found a very odd issue, were using pve-zync to replicate as backups and when we checked it shows only a few vms but i was sure that i had more
then i checked into the cronjob and found that there is more jobs, and i see that the snapshots are doing it but for some odd reason not showing on the pve-zync list

Cronjob
Code:
root@prometheus2:~# cat /etc/cron.d/pve-zsync
MAILTO=""
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

0 * * * * root pve-zsync sync --source 163 --dest 192.168.3.252:rpool/data --name bakdeep --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 162 --dest 192.168.3.252:rpool/data --name bakmoodle --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 159 --dest 192.168.3.252:rpool/data --name bakzeus --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 158 --dest 192.168.3.252:rpool/data --name bakhera --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 155 --dest 192.168.3.252:rpool/data --name bakpfelk --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 154 --dest 192.168.3.252:rpool/data --name bakmonitor --maxsnap 28 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 154 --dest 190.249.xx.xx:rpool/data --name drpmonitor --maxsnap 7 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 162 --dest 190.249.xx.xx:rpool/data --name drpmoodle --maxsnap 7 --method ssh --source-user root --dest-user root
0 * * * * root pve-zsync sync --source 193 --dest 190.249.xx.xx:rpool/data --name bakintranet2 --maxsnap 28 --method ssh --source-user root --dest-user root

Code:
root@prometheus2:~# pve-zsync list
SOURCE                   NAME                     STATE     LAST SYNC           TYPE  CON
154                      bakmonitor               ok        2022-02-19_17:00:01 qemu  ssh
155                      bakpfelk                 ok        2022-02-06_17:05:23 qemu  ssh
158                      bakhera                  ok        2022-02-06_17:09:06 qemu  ssh
159                      bakzeus                  ok        2022-02-19_17:05:48 qemu  ssh
162                      bakmoodle                ok        2022-02-19_17:05:37 qemu  ssh
163                      bakdeep                  ok        2022-02-06_18:07:58 qemu  ssh


this is a part of the snapshots and does not show bakintranet2 on the pve-zync list but it seems that its doing it

Code:
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-18_20:00:01  2.79M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-18_21:02:55  2.96M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-18_22:06:12  4.18M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-18_23:01:05  4.67M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_00:04:52  3.08M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_01:00:57  2.91M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_02:04:55  3.05M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_03:04:38  2.71M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_04:00:01  2.71M      -     5.27G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_05:01:04  2.77M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_06:01:08  2.76M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_07:04:18  2.65M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_08:00:34  2.61M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_09:05:28  2.81M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_10:03:59  2.79M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_11:03:32  2.76M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_12:04:44  3.44M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_13:00:01  3.92M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_14:01:24  3.07M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_15:00:20  2.74M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_16:06:54  2.73M      -     5.28G  -
rpool/data/vm-193-disk-0@rep_bakintranet2_2022-02-19_17:06:01  3.35M      -     5.28G  -
 
Last edited:
Hi,
the issue is the additional spaces in front of the destination addresses. Did you edit the file manually?
 
  • Like
Reactions: killmasta93

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!