Hi,
i really wanted to use pvesr (GUI synchronization) and then ZFS snapshots for backup, but I have one big problem, which I can not overcome.
My backup plan is to sync all VMs to one node and then do snapshots of all volumes on that node.
It works nicely in principle. I set up synchronization in GUI, VMs replicate to backup node, where zfSnap does it's thing.
The problem comes when I do a (live) migration for a VM, even if I migrate it just to reboot the PM host.
After I migrate it back, the synchronization fails. Somehow it forgets that there is already the same disk on the target and tries to start from scratch. In order to have syncing work once again, I have to remove pvesr replication job and re add it.
I don't mind the additional manual work, but the actual problem is, that when job is removed, ZVOL on the target is removed with _all_ of it's snapshots. Also snapshots that zfSync creates, so I actually loose all of my backups for that VM.
I think I will have to go to pve-zsync, set it in pull mode on target and see if it works.
How do you guys do it?
Obviously official vzdump backup solution, with it's idea of copying whole VMs each time it runs, is not really acceptable in 2018 nor feasible with big data sets.
i really wanted to use pvesr (GUI synchronization) and then ZFS snapshots for backup, but I have one big problem, which I can not overcome.
My backup plan is to sync all VMs to one node and then do snapshots of all volumes on that node.
It works nicely in principle. I set up synchronization in GUI, VMs replicate to backup node, where zfSnap does it's thing.
The problem comes when I do a (live) migration for a VM, even if I migrate it just to reboot the PM host.
After I migrate it back, the synchronization fails. Somehow it forgets that there is already the same disk on the target and tries to start from scratch. In order to have syncing work once again, I have to remove pvesr replication job and re add it.
I don't mind the additional manual work, but the actual problem is, that when job is removed, ZVOL on the target is removed with _all_ of it's snapshots. Also snapshots that zfSync creates, so I actually loose all of my backups for that VM.
I think I will have to go to pve-zsync, set it in pull mode on target and see if it works.
How do you guys do it?
Obviously official vzdump backup solution, with it's idea of copying whole VMs each time it runs, is not really acceptable in 2018 nor feasible with big data sets.