SIR Installation with Package Manager

Packages for the VMware Single Item Restore plugin are available for supported platforms. Please contact Bacula Systems to get them.

Download the plugin package to your Storage Daemon server and then install using the package manager like so:

rpm -ivh bacula-enterprise-single-item-restore*.rpm

The package manager will ensure that your Bacula Enterprise version is compatible with the VMware Single Item Restore Plugin and will install dependencies. On Redhat, it will be needed to install perl-JSON package from rpmforge and the libguestfs-winsupport package.

Note

On Redhat 8.x or 9.x, it is necessary to install a custom version of the libguestfs packages from our repository to support NTFS devices. Those should not be updated with a newer version from official repositories. The YUM package manager has plugins to prevent package updates, try yum-plugin-versionlock or yum-plugin-priorities. Additionally, the ntfs-3g package from the EPEL repository is needed for NTFS support. To install the EPEL respository, please follow the official instructions on the EPEL website to install the “epel-release” package here: https://fedoraproject.org/wiki/EPEL

Note

The DAG repo below must be set up in order to install libguestfs needed for SIR.

Note

On Redhat 8.X and 9.x, you must have the the AppStream repository enabled to install the perl-File-Copy. The perl-File-Copy module is a dependency required by the bacula-enterprise-single-item-restore package.

Since Bacula Enterprise 16.0.13.

# cat /etc/yum.repos.d/dag.repo
[dag]
name = Red Hat Enterprise  - RPMFORGE
baseurl = https://www.baculasystems.com/dl/DAG/rhel6-64
enabled = 1
protect = 0
gpgcheck = 0

# cat /etc/yum.repos.d/baculasystems.repo
[single_file_restore_vmware]
name = Red Hat Enterprise  - RPMFORGE
baseurl = https://www.baculasystems.com/dl/<xxx>/rhel6-64
enabled = 1
protect = 0
gpgcheck = 0


Note: This last repository is required on RHEL7:

[Bacula-Enterprise-DAG-Guestfish]
name = Bacula Enterprise - DAG for Guestfish
baseurl = https://www.baculasystems.com/dl/DAG/rhel7-64/guestfish/
enabled = 1
protect = 0
gpgcheck = 0
yum install bacula-enterprise-single-item-restore perl-JSON

If BWeb Management Suite is used:

service bweb restart

Samba SMB Shares

The Bacula Enterprise VMware Single Item Restore plugin can automatically set up Samba SMB shares from the console program or the BWeb Management Suite.

To enable Samba SMB network shares, installing and configuring the “samba” package is mandatory. To configure the /etc/samba/smb.conf file correctly, you need to run install-single-item-restore.sh script.

root@storage# /opt/bacula/scripts/install-single-item-restore.sh install
Do you want to initialise Samba smb.conf [yes/No]: yes
Choose a Workgroup [BACULA]:

root@storage# cat /etc/samba/smb.conf
[global]
workgroup = BACULA
include = /etc/samba/conf.d/all

At this point, it is possible to modify /etc/samba/smb.conf to add your own configuration directives.

Network share descriptions will be stored in the directory /etc/samba/conf.d. It is possible to create and customize the template used by Bacula to generate configuration files.

root@storage# cat /etc/samba/conf.d/custom.tpl
[__share__]
   path = __path__
   follow symlinks = yes
   wide links = yes
   writable = yes

Go back to the main SIR Installation page.

Go back to the main Single Item Restore page.

Go back to the main vSphere Plugin Operations page.