Webmin - Bacula Backup

Using the RPM version of Webmin,
Step 1
Download the file from the downloads page , or run the command.

#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.870-1.noarch.rpm

Step 2
Iinstall optional dependencies.

#yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect

Step 3 Run the command .

# rpm -U webmin-1.870-1.noarch.rpm

The installation done to the directory /usr/libexec/webmin,
Use administration username set to root and the password to your current root password.
URL http://IPaddress:10000/. \

Using the Webmin YUM repository
Create the /etc/yum.repos.d/webmin.repo file and add the following :

name=Webmin Distribution Neutral

That will fetch and install my GPG key with which the packages are signed, with the commands :

#wget http://www.webmin.com/jcameron-key.asc
#rpm --import jcameron-key.asc

Iinstall with the command :

# yum check update

#yum install webmin

All dependencies should be resolved automatically.

#yum chkconfig webmin on
# service webmin start

# firewall-cmd --parmanent --add-port=10000/tcp

The installation done to the directory /usr/libexec/webmin,
Use administration username set to root and the password to your current root password. 
URL http://IPaddress:10000/. 

You will probably get an warning on insecure connection, go ahead and add exception  and continue.

Get the latest EPEL release


Check the realese # and replace it in the command bellow

# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
ls *.rpm

#sudo yum install epel-release-latest-7.noarch.rpm

# yum update

# nano /etc/yum.repos.d/bacula-epel7.repo

Add all thetext bellow:

name=Bacula backports from rawhide

name=Bacula backports from rawhide - Source

Save file and exit.

yum list bacula*

Installing MariaDB and Bacula

# yum -y install mariadb mariadb-server bacula-director-mysql bacula-console 

# yum -y install bacula-client bacula-storage-mysql mysql-server mysql-devel

Start the MariaDB database server by typing in:

systemctl start mariadb.service
chkconfig mariadb on

Now the secure installation process

When prompt.

First question hit ENTER key.
Then the rest fill in whatever you think is right fro you.

# mysql -u root -p
Use the password you creeated!

trye EXIT toe exit Mariadb

Now go to Webmin with http://www.IPaddress:10000


Now we need to tell Bacula to use Mysql as the libary.  To do this, lets first stop the services by typing in:

systemctl stop bacula-dir
systemctl stop bacula-fd
systemctl stop bacula-sd 


Now lets set Bacula to use the Mysql library:

su -c 'alternatives --config libbaccats.so'

This should show you the following:

There are 3 programs which provide ‘libbaccats.so’.

  Selection    Command
  1           /usr/lib64/libbaccats-mysql.so
   2           /usr/lib64/libbaccats-sqlite3.so
*+  3           /usr/lib64/libbaccats-postgresql.so


Hit 1 and press enter to select MySql.


Now lets start the services back by using the following commands:

systemctl start bacula-dir
systemctl start bacula-fd
systemctl start bacula-sd 

  • Webmin - Bacula Backup
  • 1 Users Found This Useful
Was this answer helpful?

Powered by WHMCompleteSolution