Resource Listing
EnterpriseBacula Enterprise Only
This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.
The Bacula Enterprise QEMU Plugin supports the plugin listing feature of Bacula Enterprise 8.x or newer. This mode allows a Plugin to display some useful information about available Proxmox resources such as:
List of guest VM names
List of guest VM VMIDs
List of Proxmox Storages
This feature uses the special .ls “dot command” with a plugin=<plugin> parameter. The command requires the following parameters to be set:
- client=<client>
A Bacula Client name with the QEMU Plugin installed.
- plugin=<plugin>
A plugin name, which would be qemu: in this case, with optional plugin parameters as described in section genericparameters.
- path=<path>
An object path to display.
The supported values for a path=<path> parameter are:
- /
to display object types available to list.
- vm
to display a list of guest VM name-labels.
- vmid
to display a list of guest VM VMIDs and name-label pointers.
- storage
to show the list of available Storages.
To display available object types, follow the following command example:
*.ls client=proxmoxtest-fd plugin="qemu: mode=PVE" path=/
Connecting to Client proxmoxtest-fd at proxmoxtest:9102
drwxr-x--- 1 root root 0 2021-11-01 12:55:55 vm
drwxr-x--- 1 root root 0 2021-11-01 12:55:55 vmid
drwxr-x--- 1 root root 0 2021-11-01 12:55:55 storage
2000 OK estimate files=3 bytes=0
To display the list of all available guest VMs, the following command example can be used:
*.ls client=proxmoxtest-fd plugin="qemu: mode=PVE" path=/vm
Connecting to Client proxmoxtest-fd at proxmoxtest:9102
-rw-r----- 1 root root 8589934592 2021-11-01 12:56:18 vm1
-rw-r----- 1 root root 8589934592 2021-11-01 12:56:18 vm3
2000 OK estimate files=2 bytes=17,179,869,184
To display the list of guest VM VMIDs, use the following command example:
*.ls client=proxmoxtest-fd plugin="qemu: mode=PVE" path=/vmid
Connecting to Client proxmoxtest-fd at proxmoxtest:9102
-rw-r----- 1 root root 8589934592 2021-11-01 12:56:46 100 -> vm1
-rw-r----- 1 root root 8589934592 2021-11-01 12:56:46 102 -> vm3
2000 OK estimate files=2 bytes=17,179,869,184
The VM and VMID lists display an estimated size of the guest VM based on virtual or actual disk image sizes.
To display available Proxmox Storages, the following command example can be used:
*.ls client=proxmoxtest-fd plugin="qemu: mode=PVE" path=/storage
Connecting to Client proxmoxtest-fd at proxmoxtest:9102
brw-r----- 1 root root 0 2021-11-01 12:57:56 data
brw-r----- 1 root root 0 2021-11-01 12:57:56 local-lvm
2000 OK estimate files=2 bytes=0
Go back to: QEMU Plugin: Operations.