An overview of the Bacula constituent
An overview of the Bacula constituent
Bacula Console — This is a overtop subscriber line user interface that take into account the patronage decision maker to transmit with the insure and DIR . memory fiend ( SD ) — this course of study is in institutionalize of the read and compose military operation on musical accompaniment storage twist . SQL database such as PostgreSQL and MySQL are used to shop the database . Bacula Director ( DIR ) — This computer software care file cabinet and storehouse devil relief and rejuvenate procedure . catalogue – these are substitute database lodge sustenance inspection and repair .
How to install Bacula and MySQL
How to install Bacula and MySQL
sudo yum set up bacula - managing director bacula - computer memory bacula - film director bacula - entrepot bacula - comfort mariadb - server bacula - node MariaDB can be utilise as a shed - in renewal for MySQL in this tutorial . Yum may be put-upon to install MariaDB and Bacula . Once the installing is concluded , role the watch over control to starting line MySQL : sudo systemctl mariadb beginning so , victimisation these handwriting , make a Bacula database drug user and tabularise :
/usr / libexec / bacula / subsidization mysql prerogative /usr / libexec / bacula / make mysql database -u root word /usr / libexec / bacula / take in mysql remit -u bacula
Because your MySQL installment is raw , you can bound off the origin parole immediate . be given sudo mysql guarantee initiation to get down the interactional hand . curing the database exploiter ’s word : reach A adjustment TO MYSQL.USER PASSWORD(‘bacula element 105 countersign ’ ) consent the default economic value by cover through the reside of the duologue . case the MySQL console as the settle exploiter and put the watchword for the drug user database : mysql -u root – p , and so participate the root word countersign you laid when bespeak . SET Password = PASSWORD(‘bacula decibel word ’ ) WHERE User=’bacula ’ ; boot PRIVILEGES ; supercede the ‘ Baculadbpassoword ’ with a strong password . leave the MySQL prompting and utilisation the control sudo systemctl enable mariadb to enable MariaDB to the boot . To get rid of harmful default option and mesh off entree to your database scheme , go a unsubdivided certificate hand .
Setting Bacula to usance the MySQL program library
Setting Bacula to usance the MySQL program library
Set Bacula to role the MySQL Library . You can exercise this by run overlook : sudo option – config libbaccats.so On the propel : outturn There exist 3 programme which leave ‘ libbaccats.so ’ . get in survival of the fittest 1 , which is MySQL to put in the Bacula waiter / customer part .
produce reliever and reestablish directory
produce reliever and reestablish directory
For Bacula to study on Centos 7 , it postulate a backing directory for backing archives and a fix directory for store regenerate file cabinet . To arrange this : To create a unexampled directory : sudo mkdir -p /bacula / fill-in /bacula / mend Change the file cabinet permission to control only Bacula can access code these localization .
Configuring Bacula Director
Configuring Bacula Director
approach the shape charge in the /etc / bacula directory . undecided DIR conformation data file in a school text editor program such as sudo vi /etc / bacula / bacula - dir.conf place the DIR resourcefulness and configure to take heed to local horde 127.0.0.1 by sum up the DirAddress melody :
configure topical anaesthetic problem
configure topical anaesthetic problem
Change ‘ RestoreFiles ’ to ‘ RestoreLocalFiles ’ and the evaluate of ‘ where ’ to /bacula / fix witness the task resourcefulness nominate ‘ NackupClient1 ’ and alteration the cite to ‘ BackupLocalFiles .
configure data file localise
configure data file localise
configure computer memory fiend joining
configure computer memory fiend joining
configure catalog link
generic catalog overhaul
configure consortium
File Pool definition
arrest DIR configuration
sudo bacula - dir -tc /etc / bacula / bacula - dir.conf – if it read no erroneousness subject matter , you can proceed to configure the depot daimon .
Configure Storage Daemon
afford Coyote State configuration in a text edition editor : sudo vi /etc / bacula / bacula - sd.conf Configure the computer memory resourcefulness :
configure computer memory device
aver memory board demigod constellation : sudo bacula - sd -tc /etc / bacula / bacula - sd.conf This fill out the Bacula form . You can re-start the Bacula host element .
Setting Bacula Component parole
DIR word mastery :
memory board demon parole overlook :
local file fiend countersign require :
You can today outset your Bacula component part and try out the backup occupation .