Genuine QEMU Estimation and Backup Plugin Parameters
EnterpriseBacula Enterprise Only
This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.
These plugin parameters are relevant only for Backup and Estimation jobs:
- qmpcontrol=</path/to/qmp/socket>
specifies the location of the QMP control socket used for backup operations. When this parameter is set it implies
mode=QEMU. This parameter is required for Genuine QEMU and is automatically set up for the other virtualization platforms. For other virtualization platforms this parameter is prohibited.- mode=[QEMU|PVE]
specifies the default type of QEMU support. You should set it to
QEMUfor Genuine QEMU virtualization, andPVEfor Proxmox virtualization. When not set, QEMU mode of operation is set which requires a proper qmpcontrol=… parameter to be configured.- timeout=<seconds>
specifies a time the QEMU Plugin will wait for an image dump to finish. When this timeout is reached, the job will be failed. If not set, a default value of 3600 seconds will be used. This parameter is optional.
- bitmap-persistence=[0|1]
specifies if QEMU should persist the dirty block bitmap used for Incremental backups in the virtual disk image metadata. Persistent bitmaps are normally supported only by disk formats that can store this metadata, such as QCOW2. Storage such as raw block devices, LVM volumes, or other formats may not support persistent bitmaps.
When
bitmap-persistence=1is used and QEMU reports that persistent bitmaps are not supported for a disk, the plugin logs a warning and continues the backup using a transient bitmap for that disk. Whenbitmap-persistence=0is used, the bitmap is transient and kept only by the running QEMU instance. This parameter is optional and defaults to0.
Important
With transient dirty block bitmaps (bitmap-persistence=0), a bitmap
may be lost when the VM or QEMU process is restarted. When the bitmap is
no longer available, the next backup for that disk must be a Full backup
before Incremental backups can continue.
- disk-backup-check=[0|1]
specifies if the plugin should honor the Proxmox VM disk Backup option when
mode=PVEis used. When enabled, disks withbackup=0in the Proxmox VM configuration are skipped. Disks withbackup=1or without an explicitbackupsetting are included. Skipped disks are reported in the job log. This parameter is optional and defaults to0.- disk-exclude=<disk>[,<disk>…]
specifies one or more VM disks to exclude from the backup. Multiple disks can be specified as a comma-separated list or by repeating the
disk-exclude=...parameter. Each value must match a discovered disk identifier, for example a Proxmox disk key such asscsi0orvirtio0, a QEMU node/device name such asdrive-scsi0, or the disk image file name.Matching disks are skipped and reported in the job log. If a
disk-excludevalue does not match any disk belonging to the selected VMs, the plugin reports a warning. This parameter is optional.- vm=<name>
specifies a guest VM name to backup. All guest VMs with a <name> provided will be selected for backup. Multiple
vm=...parameters are allowed. If a guest VM with <name> can not be found, then a single job error will be generated and the backup will proceed to the next VM unlessabort_on_erroris set which will cause the backup job to be failed. This parameter is optional and used whenmode=PVEonly.- vmid=<vmid>
specifies a guest VM VMID to backup. Multiple
vmid=...parameters may be provided. If a guest VM with <vmid> can not be found, a job error will be generated and the backup will proceed to the next VM unlessabort_on_erroris set which will cause the backup job to be failed. This parameter is optional and used whenmode=PVEonly.- include=<name-regex>
specifies a list of a guest VM names to backup using regular expression syntax. All guest VMs with names matching the
name-regexregular expression provided will be selected for backup. Multipleinclude=...parameters may be provided. The match performed is case insensitive.If no guest VMs match the name-regex expression provided, the backup will proceed to the next parameters or finish successfully without backing up any VMs. The
abort_on_errorparameter will not fail the job when no guest VMs are found using name matching. This parameter is optional and used whenmode=PVEonly.- exclude=<name-regex>
specifies a list of a guest VMs names which will be excluded from backup using regular expression matching. All guest VMs with names matching the provided regular expression, and selected for backup using the
include=...parameter will be excluded. The match is case insensitive. This parameter does not affect any guest VM selected to be backed up usingvm=...orvmid=...parameters. Multipleexclude=...parameters may be provided. This parameter is optional and used whenmode=PVEonly.
If none of the paramaters vm=..., vmid=..., include=... and
exclude=... are specified then all available guest VMs on the Proxmox
hypervisor will be backed up. For Genuine QEMU a single VM pointed to by
the qmpcontrol=... parameter will be backed up.
See also
Previous articles:
Next articles:
Go back to: QEMU Plugin: Configuration.