Configure Client for Backup
|
Configure File daemon on client that is backup object. | |
Step [1] | Install bacula-client that is created when built Bacula's RPM, Move to client and install it. |
[root@dlp4 ~]#
yum -y install mysql
[root@dlp4 ~]#
rpm -Uvh bacula-client-3.0.1-1.x86_64.rpm
Preparing...
############################ [100%]
1:bacula-client
############################ [100%]
|
Step [2] | Configure File daemon |
# replace because comments are many
[root@dlp ~]#
mv /etc/bacula/bacula-fd.conf /etc/bacula/bacula-fd.conf.bk
[root@dlp ~]#
grep '^[^#]' /etc/bacula/bacula-fd.conf.bk > /etc/bacula/bacula-fd.conf
[root@dlp ~]#
chmod 600 /etc/bacula/bacula-fd.conf
[root@dlp ~]#
vi /etc/bacula/bacula-fd.conf
Director { Name = dlp-dir
# line 3: specify password
Password = "
password
"} Director { Name = dlp-mon
# line 7: specify password
Password = "
password
"Monitor = yes } [root@dlp ~]#
/etc/rc.d/init.d/bacula-fd start
Starting Bacula File services:
[ OK ]
[root@dlp ~]#
chkconfig bacula-fd on
|
Step [3] | Configure bconsole |
[root@dlp ~]#
vi /etc/bacula/bconsole.conf
Director { Name = dlp-dir DIRport = 9101
# line 8: specify Director daemon's IP address
address =
192.168.0.20
# line 9: specify password
Password = "
password
"} |