Installation

This article describes how to install Bacula Enterprise Automatic Big Filesystem Split Plugin.

The installation process involves executing the install-big-fs.sh script several times.

  • The first execution should be with the configure option:

    root@user:~# /opt/bacula/scripts/install-big-fs.sh configure
    
  • The second execution should be with the install option:

    root@user:~# /opt/bacula/scripts/install-big-fs.sh install
    
  • At this point, a configuration sample located at /opt/bacula/big-fs/bacula-dir.conf.sample is created. This file contains example resource configurations for a Client, Fileset, Job, and restricted Console. These resources should be added to the /opt/bacula/etc/bacula-dir.conf individually, or this file may be included in the bacula-dir.conf using the @ include option, as follows: @/opt/bacula/big-fs/bacula-dir.conf.sample

  • After reloading the Bacula director’s configuration, the install script may be optionally executed a third time with the test option:

    root@user:~# /opt/bacula/scripts/install-big-fs.sh test
    

    to check if the installation is working correctly.

Note

If the Bacula Director already has a Client resource, the Client in bacula-dir.conf.sample should not be copied into the Director’s configuration as the Client resource should not be duplicated. However it is important to set the Maximum Concurrent Jobs = <number> to a value larger than 1. Ideally this number should be equal to or greater than the number of workers configured on the plugin command line in the Fileset.

Steps

  1. Run:

root@big-fs-test:/opt/bacula# scripts/install-big-fs.sh configure

Enter the Bacula Director Name [big-fs-test-dir]:

Enter the Bacula Director Address [big-fs-test]:

Enter the Bacula Director Port [9101]:


Enter the Bacula FileDaemon name [big-fs-test-fd]:


INFO: Creating configuration template for the Director
      /opt/bacula/big-fs/bacula-dir.conf.sample will help you to setup
      a Job with the Bacula Enterprise Automatic Big Filesystem Split Plugin.

      The template can be included in your Director configuration and
      you need to review all items marked as "might need to be adjusted"

root@big-fs-test:/opt/bacula# scripts/install-big-fs.sh install
Installing big-fs plugin
  1. Update the Director’s configuration with the help of the newly generated /opt/bacula/big-fs/bacula-dir.conf.sample.

  2. Open bconsole and run reload:

  3. Test the setup:

root@big-fs-test:/opt/bacula# scripts/install-big-fs.sh test
1000 OK: 10002 big-fs-test-dir Version: 18.0.0 (20 November 2023)
INFO: Connection to the Director OK
INFO: Connection from the Director to the Client OK
INFO: Plugin installed correctly
INFO: Job found on the Director
INFO: FileSet configured on the Director
INFO: RestoreJob found on the Director
INFO: Test job finished ok

Result

Automatic Big Filesystem Split Plugin is installed.

See also

Previous articles:

Next articles:

Go back to: Automatic Big Filesystem Split.