Hi,
haven't found any comprehensive info/docs how the Veeam Proxmox plugin is integrated with PVE, but as far as understand:
(please correct/extend if I'm wrong)
high level procedure (full backup only, excluded CBT/dirty bitmaps for incrementals):
1) a Veeam worker VM is started on the same PVE node where the VM/disk(s) resides which should be backuped (if so configured & Hot-Add should be used - otherwise NBD/NW mode only)
2) the QEMU live snapshot function is called via PVE/Qemu API - similiar to PBS (but only initially*) - to ensure that also snapshot creation is possible on non snapshotable storage -> like raw (shared) LVM
3) with the beginning of the backup job the VM is shortly freezed and the base VM disk(s) is put into readonly and are then attached to the worker VM to get a consistent disk image for transfer to the backup server
4) an overlay qcow2 image is created on a previous defined file level storage/directory - to hold new writes for the VM(s) during the backup procedure
5) when the backup process has finished the hot-add vm disk(s) is reattached to the original VM and a snapshot merging/flattening(?) of the qcow2 overlay happens back to the raw (?) image.
- *AFAIK PBS (without fleecing) puts some kind of COW filter into but does not create an additional overlay/qcow2 disk - so new VM writes during the backup are >always< written (with maybe some delay) to the original VM disk(s)/storage
also with a fleecing device - only old data is temporarly stored on an extra device/storage
- both solutions use --- with any (?) included/default PVE storage (plugins) --- the Qemu live snapshots (and no e.g. ZFS / LVM thin storage snapshots on corresponding storage)
I'm asking/writing this because:
- of course to get a better technical understanding how it works
- but specially the Veeam file level storage/directory for snapshots during backups (pt. 4.) makes me a little bit wondering - neither in the Veeam community forum nor in the off. docs it is clearly mentioned which (negative) impact this can have if not wisely selected/configured ... >>> pls use some file temp space which is needed for worker & backup snapshots ... <<<
e.g.: all VM disks in a PVE cluster with many nodes on shared LVM storage (on HA/high performance/$$$ SAN) -> then the suggestion is e.g. to use PVE local storage/one separate SSD disk/VM NFS etc.
maybe I'm wrong but:
- if this temp. (ev. low-grade/non redudant/small) backup & snapshot file storage fails during backup process - all new written VM data is lost
- if a slow local device or file share is used then the backup process(es) can ev. stumble with (heavy) VM writes - the high performance SAN doesn't help much
- if the qcow2 overlay gets merged back this puts additional stress to the VM(s) and storage
so imho esp. for a big PVE cluster & shared LVM storage solution I would use a LUN/LVM/FS on the SAN - dedicated to some of the nodes for this Veeam snapshot/worker file space
if all this is correct - then at least for PVE VM only backups - imho ... PBS looks like the better integrated and/or "less efforts" approach
haven't found any comprehensive info/docs how the Veeam Proxmox plugin is integrated with PVE, but as far as understand:
(please correct/extend if I'm wrong)
high level procedure (full backup only, excluded CBT/dirty bitmaps for incrementals):
1) a Veeam worker VM is started on the same PVE node where the VM/disk(s) resides which should be backuped (if so configured & Hot-Add should be used - otherwise NBD/NW mode only)
2) the QEMU live snapshot function is called via PVE/Qemu API - similiar to PBS (but only initially*) - to ensure that also snapshot creation is possible on non snapshotable storage -> like raw (shared) LVM
3) with the beginning of the backup job the VM is shortly freezed and the base VM disk(s) is put into readonly and are then attached to the worker VM to get a consistent disk image for transfer to the backup server
4) an overlay qcow2 image is created on a previous defined file level storage/directory - to hold new writes for the VM(s) during the backup procedure
5) when the backup process has finished the hot-add vm disk(s) is reattached to the original VM and a snapshot merging/flattening(?) of the qcow2 overlay happens back to the raw (?) image.
- *AFAIK PBS (without fleecing) puts some kind of COW filter into but does not create an additional overlay/qcow2 disk - so new VM writes during the backup are >always< written (with maybe some delay) to the original VM disk(s)/storage
also with a fleecing device - only old data is temporarly stored on an extra device/storage
- both solutions use --- with any (?) included/default PVE storage (plugins) --- the Qemu live snapshots (and no e.g. ZFS / LVM thin storage snapshots on corresponding storage)
I'm asking/writing this because:
- of course to get a better technical understanding how it works
- but specially the Veeam file level storage/directory for snapshots during backups (pt. 4.) makes me a little bit wondering - neither in the Veeam community forum nor in the off. docs it is clearly mentioned which (negative) impact this can have if not wisely selected/configured ... >>> pls use some file temp space which is needed for worker & backup snapshots ... <<<
e.g.: all VM disks in a PVE cluster with many nodes on shared LVM storage (on HA/high performance/$$$ SAN) -> then the suggestion is e.g. to use PVE local storage/one separate SSD disk/VM NFS etc.
maybe I'm wrong but:
- if this temp. (ev. low-grade/non redudant/small) backup & snapshot file storage fails during backup process - all new written VM data is lost
- if a slow local device or file share is used then the backup process(es) can ev. stumble with (heavy) VM writes - the high performance SAN doesn't help much
- if the qcow2 overlay gets merged back this puts additional stress to the VM(s) and storage
so imho esp. for a big PVE cluster & shared LVM storage solution I would use a LUN/LVM/FS on the SAN - dedicated to some of the nodes for this Veeam snapshot/worker file space
if all this is correct - then at least for PVE VM only backups - imho ... PBS looks like the better integrated and/or "less efforts" approach
