PVE-ZSYNC question?

killmasta93

Renowned Member
Aug 13, 2017
974
59
68
31
HI
I was wondering if someone could shed some light on the question i have,
Currently i have working PVE-ZSYNC perfectly, but when i sync it syncs all the disk is it possible to tell PVE-ZSYNC to sync the disks i need and not all in the config?
and does PVE-ZSYNC have compression?

Thank you
 
Did u try to deactivate the replication mark which u can set for every disk?
zfs send and receive is without compression.
 
Hi,
it's not the replicaton=0 flag, but the backup=0 flag you need to configure for a disk to exclude it. This has historical reasons, because pve-zsync was there before the integrated replication in Proxmox VE I think. That flag will also exclude the disk for backup jobs of course, so be careful!

With pve-zsync>=2.2.3 you can use --compressed to send data without decompressing first.
 
thank you so much for the reply,
so currently i have this on my cron job

Code:
0 * * * * root pve-zsync sync --source 101 --dest 192.168.13.200:rpool/data --name drpg --maxsnap 7 --method ssh --source-user root --dest-user root

so would i change it like this

Code:
0 * * * * root pve-zsync sync --source 101 --dest 192.168.13.200:rpool/data --name drpg --maxsnap 7 --method ssh --source-user root --dest-user root --compressed

as for to ignore the disk would i just go to the webGUI? and check mark the box?

1664942176929.png
 
thank you so much for the reply,
so currently i have this on my cron job

Code:
0 * * * * root pve-zsync sync --source 101 --dest 192.168.13.200:rpool/data --name drpg --maxsnap 7 --method ssh --source-user root --dest-user root

so would i change it like this

Code:
0 * * * * root pve-zsync sync --source 101 --dest 192.168.13.200:rpool/data --name drpg --maxsnap 7 --method ssh --source-user root --dest-user root --compressed

as for to ignore the disk would i just go to the webGUI? and check mark the box?

View attachment 41920
Yes, those should do the trick.
 
  • Like
Reactions: killmasta93