pve-zsync pull to new unclustered server fails: VM 100 doesn't exist

mailinglists

Renowned Member
Mar 14, 2012
641
69
93
Hi,

i have a production PVE 4.* server. I installed new 5.* server.
Now I want to sync data disks (ZVOLs) over to new server using pool method.
I have had a plan to sync the data disks over and then create VMs, shut them down and pve-zsync insternalliy or zfs send | zfs receive internally to get the old data in the newly created VM.

Pve-zsync pull method fails, stating there is no VM (because there is not - yet):
Code:
root@NewServer:~# pve-zsync sync --source OldServersIP:100 --dest rpool/syncano --verbose --maxsnap 2 --limit 5000
VM 100 doesn't exist

I guess It would do it using push method from the old server.
Or I could create the VM on new server first (maybe copy the config over from old server?).
How do you guys do it?
 
pve-zsync only supports syncing the destination with the source, not the other way around. In addition you can only specify either a VMID as source, or an IP followed by pool and an optional path (see man pve-zsync).
 

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!