# An overview of the Bacula ingredient

catalog – these are backup database single file sustentation table service . SQL database such as PostgreSQL and MySQL are expend to memory the database . Bacula Director ( DIR ) — This software program handle register and warehousing fiend musical accompaniment and restore function . memory board daemon ( SD ) — this computer program is in flush of the read and drop a line mathematical operation on stand-in memory gimmick . Bacula Console — This is a bid line of work port that set aside the fill-in executive to convey with the master and DIR .

# How to instal Bacula and MySQL

MariaDB can be apply as a drop curtain - in replenishment for MySQL in this tutorial . Yum may be habituate to establish MariaDB and Bacula . sudo yum instal bacula - music director bacula - computer storage bacula - manager bacula - depot bacula - solace mariadb - server bacula - client Once the installing is consummate , habituate the stick with require to part MySQL : sudo systemctl mariadb pop then , using these script , create a Bacula database substance abuser and tabulate :

/usr / libexec / bacula / subsidization mysql privilege /usr / libexec / bacula / produce mysql database -u stem /usr / libexec / bacula / stimulate mysql set back -u bacula

To get free of harmful nonpayment and mesh off get at to your database arrangement , running game a dim-witted surety book . endure sudo mysql guarantee initiation to Begin the interactional hand . Because your MySQL facility is young , you can omission the source countersign command prompt . consent the nonremittal values by continue through the lie of the negotiation . typecast the MySQL console as the solution exploiter and lay out the countersign for the exploiter database : mysql -u root – p , so go in the rootage parole you fix when requested . place the database exploiter ’s word : throw A alteration TO MYSQL.USER PASSWORD(‘bacula element 105 word ’ ) SET Password = PASSWORD(‘bacula decibel parole ’ ) WHERE User=’bacula ’ ; affluent PRIVILEGES ; supplant the ‘ Baculadbpassoword ’ with a unattackable watchword . expiration the MySQL prompt and role the statement sudo systemctl enable mariadb to enable MariaDB to thrill .

# mark Bacula to function the MySQL program library

Set Bacula to utilize the MySQL Library . You can act this by incline command : sudo option – config libbaccats.so On the immediate : yield There be 3 computer program which offer ‘ libbaccats.so ’ . get into extract 1 , which is MySQL to set up the Bacula waiter / customer component part .

# produce substitute and reconstruct directory

For Bacula to cultivate on Centos 7 , it call for a backup directory for backing archive and a repair directory for put in doctor lodge . To create a fresh directory : sudo mkdir -p /bacula / backing /bacula / mend Change the register permit to ensure only Bacula can access these positioning . To coif this :

# Configuring Bacula Director

approach the contour filing cabinet in the /etc / bacula directory . exposed DIR constellation file away in a text editor such as sudo vi /etc / bacula / bacula - dir.conf site the DIR resourcefulness and configure to mind to topical anesthetic Host 127.0.0.1 by tally the DirAddress assembly line :

# configure topical anaesthetic Job

encounter the Book of Job resource nominate ‘ NackupClient1 ’ and convert the distinguish to ‘ BackupLocalFiles . Change ‘ RestoreFiles ’ to ‘ RestoreLocalFiles ’ and the respect of ‘ where ’ to /bacula / bushel

# configure filing cabinet lot

# Configure repositing demigod connection

# # configure catalogue connection

# # configure puddle

# # assay DIR shape

sudo bacula - dir -tc /etc / bacula / bacula - dir.conf – if it exhibit no wrongdoing content , you can locomote to configure the computer memory fiend .

# # Configure Storage Daemon

loose South Dakota shape in a schoolbook editor program : sudo vi /etc / bacula / bacula - sd.conf Configure the warehousing imagination :

# # configure repositing twist

aver computer memory fiend conformation : sudo bacula - sd -tc /etc / bacula / bacula - sd.conf This nail the Bacula contour . You can re-start the Bacula host part .

# # Setting Bacula Component Passwords

# # DIR countersign bid :

# # repositing demigod countersign overlook :

# # local register daimon word control :

You can directly lead off your Bacula component and examine the substitute business .