pve-zsync: recovering VM?

alexc

Renowned Member
Apr 13, 2015
138
4
83
Planning to implement pve-zsync to do regular (routine) off-site VM replication, and it looks like I understand all my backup steps but can’t figure out the recovering steps:

It says, first, I need to disable the replication for VM. Ok, that's understandable.

Then, I can “send the VM or Dataset to the selected target”, and this is a maze for me. Why should I do the zfs send when I already have VM data replicated so I can run VM on backup host with this very data (replicated one), righht? If I’ll do zfs send then I’ll use x2 space and I’ll have to wait for the send process.

Please advice, what should I do when first (the sending one) host become “down” and I have to run VM copies on second (receive) host?

And, as I run VMs on second host, how will I can have replication in reversed direction when first host become ok and online? Reestablish it from 2nd host to 1st one manually?
 
Last edited:
I use zfs rename on the target and copy and maybe fix the VM config files from /var/lib/pve-zsync
after the first node is fixed and has no remnants of old VMS, I set up job in the opposite direction
also, you can manually run sync jobs, then do not have to be scheduled or even if they are
 
Last edited:

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!