Working Directory Location
EnterpriseBacula Enterprise Only
This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.
In the example below, a single QEMU VM will be backed up.
Fileset {
Name = FS_qemu
Include {
Plugin = "qemu: qmpcontrol=/images/vm1.qmp"
}
}
Now the same QEMU VM but with custom working location.
Fileset {
Name = FS_qemu_working
Include {
Plugin = "qemu: qmpcontrol=/images/vm1.qmp working=/tmp"
}
}
In the example below, all Promox guest VMs will be backed up.
Fileset {
Name = FS_ProxmoxAll
Include {
Plugin = "qemu: mode=PVE"
}
}
In this example, a single guest VM with name of “VM1” will be backed up.
Fileset {
Name = FS_Proxmox_VM1
Include {
Plugin = "qemu: mode=PVE vm=VM1"
}
}
The same example as above, but using vmid instead:
Fileset {
Name = FS_Proxmox_VM1
Include {
Plugin = "qemu: mode=PVE vmid=101"
}
}
In the following example, all guest VMs which contain “Prod” in their names will be backed up.
Fileset {
Name = FS_Proxmox_ProdAll
Include {
Plugin = "qemu: mode=PVE include=Prod"
}
}
In this final example, all guest VMs except VMs whose name begins with “Test” will be backed up.
Fileset {
Name = FS_Proxmox_AllbutTest
Include {
Plugin = "qemu: mode=PVE include=.* exclude=^Test"
}
}
The following example backs up all Proxmox guest VMs, skips disks for which
the Proxmox Backup option disabled, and also excludes the scsi1 disk
when it is present.
Fileset {
Name = FS_Proxmox_DiskSelection
Include {
Plugin = "qemu: mode=PVE disk-backup-check=1 disk-exclude=scsi1"
}
}
See also
Previous articles:
Go back to: QEMU Plugin: Configuration.