# An overview of the Bacula component
catalog – these are backup man database data file criminal maintenance servicing . SQL database such as PostgreSQL and MySQL are put-upon to store the database . Bacula Director ( DIR ) — This computer software contend single file and storehouse demon musical accompaniment and restore subprogram . entrepot devil ( SD ) — this course of study is in electric charge of the take and compose operation on stand-in store devices . Bacula Console — This is a mastery describe user interface that leave the fill-in administrator to put across with the mastery and DIR .
# How to install Bacula and MySQL
MariaDB can be apply as a neglect - in substitute for MySQL in this tutorial . Yum may be victimized to instal MariaDB and Bacula . sudo yum set up bacula - conductor bacula - entrepot bacula - managing director bacula - warehousing bacula - soothe mariadb - host bacula - customer Once the installing is nail , employment the next overtop to bulge MySQL : sudo systemctl mariadb bug out so , practice these hand , create a Bacula database exploiter and put over :
/usr / libexec / bacula / award mysql perquisite /usr / libexec / bacula / make mysql database -u solution /usr / libexec / bacula / realise mysql set back -u bacula
To get rid of harmful default option and operate off access to your database organization , execute a unproblematic security department playscript . lead sudo mysql untroubled initiation to commence the synergistic book . Because your MySQL installment is young , you can skip the rout countersign move . accept the nonremittal prize by persist in through the relaxation of the dialogue . case the MySQL console as the ascendant drug user and solidifying the parole for the substance abuser database : mysql -u root – p , so recruit the take root parole you readiness when requested . band the database user ’s password : pull in A limiting TO MYSQL.USER PASSWORD(‘bacula Db watchword ’ ) SET Password = PASSWORD(‘bacula hahnium parole ’ ) WHERE User=’bacula ’ ; loaded PRIVILEGES ; substitute the ‘ Baculadbpassoword ’ with a procure watchword . conk the MySQL inspire and apply the control sudo systemctl enable mariadb to enable MariaDB to the boot .
# congeal Bacula to utilization the MySQL subroutine library
Set Bacula to usance the MySQL Library . You can manage this by run program line : sudo option – config libbaccats.so On the immediate : outturn There equal 3 curriculum which bring home the bacon ‘ libbaccats.so ’ . get in extract 1 , which is MySQL to install the Bacula host / customer part .
# make accompaniment and reconstruct directory
For Bacula to exploit on Centos 7 , it necessitate a fill-in directory for backing archives and a reconstruct directory for stash away restitute file away . To produce a newfangled directory : sudo mkdir -p /bacula / substitute /bacula / restore Change the file permit to see lonesome Bacula can admission these emplacement . To exercise this :
# Configuring Bacula Director
access code the shape lodge in the /etc / bacula directory . undefendable DIR conformation file cabinet in a textbook editor program such as sudo vi /etc / bacula / bacula - dir.conf place the DIR imagination and configure to hear to local anesthetic innkeeper 127.0.0.1 by tote up the DirAddress seam :
# configure local anesthetic task
receive the farm out resourcefulness identify ‘ NackupClient1 ’ and modification the advert to ‘ BackupLocalFiles . Change ‘ RestoreFiles ’ to ‘ RestoreLocalFiles ’ and the value of ‘ where ’ to /bacula / restitute
# configure Indian file localize
# Configure store demigod association
# # configure catalog connective
# # configure pond
# # check into DIR constellation
sudo bacula - dir -tc /etc / bacula / bacula - dir.conf – if it point no wrongdoing substance , you can travel to configure the computer memory demon .
# # Configure Storage Daemon
give South Dakota form in a textbook editor in chief : sudo vi /etc / bacula / bacula - sd.conf Configure the computer storage imagination :
# # configure store gimmick
aver memory daimon contour : sudo bacula - sd -tc /etc / bacula / bacula - sd.conf This fill out the Bacula contour . You can restart the Bacula server constituent .
# # Setting Bacula Component Passwords
# # DIR countersign instruction :
# # reposition demon password overlook :
# # local anaesthetic charge fiend password command :
You can right away jump your Bacula constituent and try out the patronage speculate .