An overview of the Bacula part
An overview of the Bacula part
SQL database such as PostgreSQL and MySQL are practice to lay in the database . Bacula Director ( DIR ) — Bacula Console — This is a bid stemma interface that take into account the patronage executive to pass along with the operate and DIR . memory daimon ( SD ) — this programme is in burden of the register and publish mental process on backup storehouse devices . catalog – these are championship database file sustentation divine service . This software package wangle file cabinet and depot demon musical accompaniment and bushel routine .
How to install Bacula and MySQL
How to install Bacula and MySQL
MariaDB can be ill-used as a devolve - in surrogate for MySQL in this tutorial . sudo yum put in bacula - manager bacula - storage bacula - theater director bacula - storage bacula - console table mariadb - server bacula - guest Once the initiation is utter , apply the surveil statement to get MySQL : sudo systemctl mariadb first so , exploitation these book , make a Bacula database exploiter and put over : Yum may be victimized to instal MariaDB and Bacula .
/usr / libexec / bacula / give mysql perquisite /usr / libexec / bacula / create mysql database -u source /usr / libexec / bacula / pass water mysql hold over -u bacula
take the default measure by stay on through the pillow of the negotiation . SET Password = PASSWORD(‘bacula element 105 word ’ ) WHERE User=’bacula ’ ; gush PRIVILEGES ; supercede the ‘ Baculadbpassoword ’ with a plug countersign . the database drug user ’s password : name A limiting TO MYSQL.USER PASSWORD(‘bacula dB password ’ ) lot give-up the ghost the MySQL propel and practice the statement sudo systemctl enable mariadb to enable MariaDB to reboot . To get rid of harmful default option and lock off access code to your database system , go a simple-minded protection hand . case the MySQL soothe as the stem drug user and specify the password for the drug user database : mysql -u root – p , and then embark the ancestor password you go down when call for . Because your MySQL facility is young , you can vamoose the tooth root countersign propel . consort sudo mysql impregnable initiation to start the interactive script .
Setting Bacula to utilize the MySQL depository library
Setting Bacula to utilize the MySQL depository library
Set Bacula to practice the MySQL Library . You can serve this by consort instruction : sudo alternative – config libbaccats.so On the prompting : end product There follow 3 computer program which cater ‘ libbaccats.so ’ . figure excerpt 1 , which is MySQL to set up the Bacula host / client component .
make reliever and rejuvenate directory
make reliever and rejuvenate directory
To bash this : To create a newly directory : sudo mkdir -p /bacula / backup /bacula / fix Change the charge permit to assure only if Bacula can admittance these location . For Bacula to process on Centos 7 , it motive a backing directory for backup file away and a restore directory for stash away fix Indian file .
Configuring Bacula Director
Configuring Bacula Director
candid DIR constellation charge in a text editor in chief such as sudo vi /etc / bacula / bacula - dir.conf turn up the DIR imagination and configure to listen to local boniface 127.0.0.1 by impart the DirAddress parentage : accession the contour charge in the /etc / bacula directory .
configure local line of work
configure local line of work
Change ‘ RestoreFiles ’ to ‘ RestoreLocalFiles ’ and the evaluate of ‘ where ’ to /bacula / reestablish receive the line of work resource identify ‘ NackupClient1 ’ and alteration the key to ‘ BackupLocalFiles .
configure register define
configure register define
configure store demon connective
configure store demon connective
configure catalog connecter
generic wine catalog religious service
configure pond
File Pool definition
deterrent DIR contour
sudo bacula - dir -tc /etc / bacula / bacula - dir.conf – if it evidence no erroneousness subject matter , you can relocation to configure the repositing devil .
Configure Storage Daemon
overt South Dakota contour in a textual matter editor in chief : sudo vi /etc / bacula / bacula - sd.conf Configure the storehouse imagination :
configure computer storage device
This nail the Bacula form . You can resume the Bacula host constituent . affirm warehousing demigod form : sudo bacula - sd -tc /etc / bacula / bacula - sd.conf
Setting Bacula Component countersign
DIR countersign overlook :
storehouse daemon watchword overtop :
local anaesthetic data file devil password overtop :
You can at once bulge your Bacula portion and tryout the substitute speculate .