Is very hard (but not impossible i think) to install bacula on VMware ESXi (4.X) host.
For my situation i have resoved with this script: pmvcb and and rsync for retreiving data from ESXi:
Job { Name = "DisasterRecoveryVM1" Jobdefs = "DisasterRecoveryJob" Client = local-fd FileSet = "VM1 Set" RunScript { Command = "/etc/bacula/extra-scripts/pmvcb -v vm1 -d /vmfs/volumes/datastore/BACKUPS/vm1 -h esxi.example.com -o -L \"rsync -av --partial --partial-dir=.rsync-partial root@esxi.example.com:/vmfs/volumes/datastore/BACKUPS/vm1 /backup/dump/vm1-dr\"" RunsOnClient = No RunsWhen = Before Fail Job On Error = Yes } RunScript { Command = "rm -rf /backup/dump/vm1-dr" RunsOnClient = No RunsWhen = After Fail Job On Error = No RunsOnFailure = No } } FileSet { Name = "VM1 Set" Include { Options { signature = MD5 compression = GZIP9 xattrsupport = yes aclsupport = yes } File = /backup/dump/vm1-dr/ } }
You must implement RSA authentication for ssh: http://plone.lucidsolutions.co.nz/linux/vmware/esxi/enabling-ssh-with-public-key-authentication-on-vmware-esxi-4