Create Bacula Linux client#
Bacula Client is a source from where backups are done and it is the destination for restoring where backups are restored.
This documentation section will help you to create a new Bacula Client and use it with Bacula and Bacularis.
The Bacula Linux client can be installed in different ways. Here we described the easy way with deploying Bacula Client directly using the Bacularis and Bacula deployment function.
If you prefer to install Bacula Client manually and then setup it to use by the Bacula Director and Storage Daemon, this is fine as well. In this case you can skip this documentation section.
What is required?#
Bacularis version
1.2.0
or greater.Bacularis package repository access.
Remote host that with the Linux distribution that supports the Bacularis and Bacula deployment (see: OS profiles)
SSH access to the remote host on the installation time only
How to do it?#
Preparation#
If to get access to your Bacularis package repository you use the authentication credentials, please prepare the credentials because they will be needed during the deployment.
This Bacula Client installation process consists of two steps:
installing Bacularis API using the SSH protocol (this is one time operation)
installing Bacula Client using the HTTP(S) protocol
By default to install Bacularis API is used the Bacularis package repository.
By default to install Bacula Client is used the operating system package repository.
Both using the Bacularis and Bacula package repositories can be customized and there can be used other package repositories (ex: Bacula.org repositories). This can be achieved by customizing the OS profiles. You can create new OS profiles, inherit existing ones and adapt them to your operating systems.
Installing Bacularis API#
In the Bacularis web interface please go to the Deployment
page available in the
main menu.
On the Repo auths
tab please add the repository credentials (a new repo auth) if you
use them. Please also set the Default
option in the new repo auth window if they are
the only cerdentials to repositories that you have.
Please come back to the Hosts
tab and click the Deploy API host
button.
In the opened Deploy API host
window please fill the address field. This is the
remote host address where the Bacularis API and the Bacula Client will be installed.
In the OS profile
field you need to select the operating system that you use
on the remote destination host.
Please fill the admin username and password fields that are the SSH access credentials.
Run the connection test button. If everything is fine, then in the Save as name
field
you can define the new API host name that will be used in Bacularis, for example:
My Ubuntu host
or Backup client 321
.
Installing Bacula Client#
If the Bacularis API deployment finished successfully, on the Deployment
page
in the API host table you will be able to see this newly added Bacularis API host.
In the table row with the new API client, please click the Install
button.
In the opened window on the combobox list, please check the Client
checkbox
and click the Install
button.
After successful finishing the installation, the Bacula Client is installed, configured and added to the Bacula Director.
Important notes#
On some operating systems, specially on the DEB-based Linux distributions by default the
newly installed Bacula Client listens on the localhost netework interface only (127.0.0.1
).
To use this Bacula Client to back up and restore you need to make this client working
on all interfaces or on the network interface available from outside. To do it, you can
remove the FdAddress = 127.0.0.1
directive from the Bacula Client configuration on
the remote host in bacula-fd.conf
file. You can see it in the video guide below how to
do it directly on the Bacularis web interface. After that to apply this new change
the Bacula Client restart is needed.
Video guide#
Here you can watch the video guide that shows deploying Bacula Client with the Bacularis: