PVE-zsync for all wms.

ozgurerdogan

Renowned Member
May 2, 2010
622
6
83
Bursa, Turkey, Turkey
I need to use something like

pve-zsync sync --source 1.2.3.4:ALL --dest D4 --name ALL --maxsnap 20 --method ssh

Or any alternatife script for zfs snapshot with support of all vms in node.
 
Hi,
there is an open feature request for this, but nobody had time to implement it yet. For now, you need to iterate over all guests yourself. You can get the ID's from /etc/pve/qemu-server/ and /etc/pve/lxc or pvesh get /cluster/resources --type vm --noborder (still needs to be filtered by node).
 
Thank you. Would it be ok for now to use 3rd party like https://github.com/jimsalterjrs/sanoid
That's your decision to make ;) I don't know the tool, but seems like quite a few people use it. There might be some (minor) hiccups when you use the snapshot+rollback feature in Proxmox VE itself alongside other snapshot tools, but IIRC that already applies to pve-zsync too, because it's not tightly integrated.
 
  • Like
Reactions: ozgurerdogan