baculum Installation Guide


I will explain the installation procedure of Baculum for Bacula version 9 in CentOS 7.
It is assumed that Bacula server is installed.

The procedure to be described is performed on the Bacula server.

What is Baculum?

Baculum is a Bacula web GUI tool.

Specifically, you can check the following items.

· Check execution result of job
· Volume usage status
· Database status
· Restart JOB

Because it is a Web tool, if you have a browser you can access it anywhere on the same network.

Baculum API

The API can now be used from Baculum for Bacula Version 9.
Conventional Baculum as Baculum-Web
The API is called Baculum-API.

There are login screens for each and it will be the initial setting after installation.
After that, on this page, I will clearly describe Baculum-Web, Baculum-API and explain the procedure.

Add repository

Let’s start installing Baculum-Web, Baculum-API immediately.
First I will add a repository.
By adding this repository you can install Baculum – Web, Baculum – API.

vi Add a repository with an editor or the like.

# vi /etc/yum.repos.d/baculum.repo
[baculumrepo]
name=Baculum CentOS repository
baseurl=http://bacula.org/downloads/baculum/stable/centos
gpgcheck=1
enabled=1

Describe as above and save with “: wq” and finish.

Next, register the public key for installing Baculum – Web and Baculum – API.

# rpm --import http://bacula.org/downloads/baculum/baculum.pub

Baculum-API installation

Let’s start installing Baculum-API first after adding repositories.

# yum -y install baculum-common baculum-api baculum-api-httpd

When installation is completed, start Apache.

# systemctl start httpd

In addition, let’s also turn on automatic activation.

# systemctl enable httpd

Make sure that you can install it next.
From browser「http://<server ip adress>:9096」Access to.
Both the initial setting of user name and password are admin.

If the language selection screen is displayed as above, the installation is successfully completed. .

Baculum – API initial setting

I installed the Baculum – API successfully and let’s do the initial setup.
■select language

As for the previous screen, select “English” for language selection and click “Next” at the bottom center of the screen.

■share the Bacula Catalog Database
Configure access to the Catalog operated by the API.
Select “Yes” and click “Next” at the bottom center of the screen.

The database setting here refers to the database that has already been set up on the Bacula server. Please enter information when installing Bacula server. Finally click “test” to confirm that you can connect to the database.

When you can confirm, click “Next” at the bottom of the screen.

■share the Bacula Bconsole Commands Interface
Next, set the console that can be operated with the API.
Select “Yes” and click “Next” at the bottom center of the screen.

Basically it’s okay but please check the bconsole path and configuration file path.
Finally click “test” to confirm that you can connect to bconsole.


If an error occurs in the confirmation, log in to the Bacula server and execute the following command.

# chmod 644 /etc/bacula/bconsole.conf

Please click “test” of Baculum after changing authority of setting file.
When you can confirm, click “Next” at the bottom of the screen.

■share the Bacula Configuration Interface
Next, make settings to create Bacula’s configuration file with API.
Select “Yes” and click “Next” at the bottom center of the screen.

In this case, create a directory for the configuration file to be created with the API next.
Create a directory for the configuration file created by API in “Directory path for new config files:”.
We also grant permissions so that the API can access the configuration files of each Bacula. .

An example of the command is as follows.

# mkdir -p /etc/bacula/baculum
# chmod 777 /etc/bacula/baculum
# chmod 644 /etc/bacula/bacula-dir.conf
# chmod 644 /etc/bacula/bacula-sd.conf
# chmod 644 bacula-fd.conf

/etc/bacula/baculum It specifies a directory named, but there is no problem with any directory.
Any directory can be used as long as the privilege is granted so that the API can access it.


Please click “Test Configuration” when creating directory and changing authority.
When you can confirm, click “Next” at the bottom of the screen.

■authorization to API
Next, create a user with administrative authority for Bacula-API.
Set an arbitrary user name and password.

After inputting, click “Next” at the bottom center of the screen.

■final confirmation
Finally, Baculum – API setting confirmation screen is displayed.

If there is no problem, click “Save” at the bottom center of the screen.

■Login
Click “Save”, you will be prompted for the username and password required for login.
Please confirm that you can log in with the user name and password you set earlier.

Setting is completed if Baculum-API is displayed as below.

Baculum – Web installation

Next I will install Baculum-Web.

# yum -y install baculum-common baculum-web baculum-web-httpd

When installation is completed, restart Apache.

# systemctl restart httpd

Make sure that you can install it next.
Access “http: // & lt; server ip address & gt;: 9095 & quot; from the browser.
ユーザ名とパスワードの初期設定は共にadminになります。

If the language selection screen is displayed as above, the installation is successfully completed.

Baculum – Web initial setting

Installing Baculum – Web was successfully done so let’s go through the initial setup。
■select language

As for the previous screen, select “English” for language selection and click “Next” at the bottom center of the screen.

■add API Interface
Next, specify the server on which API settings are made.

Since I set the API earlier, I will input it for the following screen.
For “API Login”, please enter the administrative user name / password you set earlier.
Finally click “test” and confirm that “OK” is displayed.

If there is no problem, click “Next” at the bottom of the screen.

■authentication params to Baculum Web panel
Next, create a user with administrative authority for Bacula-Web.
Set an arbitrary user name and password.

After inputting, click “Next” at the bottom center of the screen.

■final confirmation
Finally, Baculum – Web settings confirmation screen is displayed.

If there is no problem, click “Save” at the bottom center of the screen.

Setting is completed if Baculum – Web is displayed as follows.