vSphere Example
In the example presented below, the Scan Plugin will contact the vCenter server via the vSphere Plugin installed on the Bacula Client vm-fd. Each virtual machine detected will be handled by a separate Job and Fileset. The Job directives will be defined via the JobDefs BackupsToDisk.
The vSphere Plugin must be correctly configured on the Bacula Client to be used by the Scan Plugin. Refer to the vSphere configuration chapter to configure /opt/bacula/etc/vsphere_global.conf.
Use the vsphere-ctl script to verify that the VMs can be listed managed by the vCenter server:
root@vm# /opt/bacula/bin/vsphere-ctl update
1: bacula
2: www
3: mail
Example of a scan_plugin command:
bacula$ /opt/bacula/bin/scan_plugin --client vm-fd --plugin vsphere --jobdefs BackupsToDisk --job J_%p_%v --commit_and_reload --plugin_option abort_on_error
Report for scan_plugin 0.5 vm
----------------------------------------------
Client: vm-fd
Plugin: vsphere
Total Objects: 5
---------------------------------------------
~ updated, + added, X removed, D disabled
---------------------------------------------
+ J_vsphere_bacula
+ J_vsphere_www
+ J_vsphere_mail
----------------------------------------------
Status: Configuration applied and reloaded
See also
Go back to PostgreSQL Example
Go to Proxmox Example
Go to MySQL Example
Go to NDMP Example
Go to M3icrosoft 65 Example
Go back to the Examples page.
Go back to the main Automatic Object Integration (Scan Plugin) page.