jueves, 14 de enero de 2016

Agregar cliente Bacula


Configure File Daemon that is run on Bacula Client ( Backup Target ).
This example shows to configure on the environment like follows.
(1) director.server.world [10.0.0.60] Bacula Management Server - Director, Storage, Database Daemon (2) file01.server.world [10.0.0.61] Bacula Client - File Daemon ( Backup Target )



[1] Install File component on Bacula Client.


[root@file01 ~]#
yum -y install bacula-client bacula-console

[2] Configure Bacula File


[root@file01 ~]#
vi /etc/bacula/bacula-fd.conf
Director {
Name = bacula-dir

# line 15: specify password to connect to Director Daemon
Password = "
password"
}

# line 22-26: delete them
Director {
Name = bacula-mon
Password = "@@MON_FD_PASSWORD@@"
Monitor = no
}[root@file01 ~]#
/etc/rc.d/init.d/bacula-fd start

Starting bacula-fd: [ OK ]
[root@file01 ~]#
chkconfig bacula-fd on

[3] Configure Bacula bconsole


[root@file01 ~]#
vi /etc/bacula/bconsole.confDirector {
Name = bacula-dir
DIRport = 9101

# Director Daemon's hostname or IP address
address =
director.server.world

# specify password to connect to Director Daemon
Password = "
password"
}


Agregar estas reglas
iptables -A INPUT -i $LAN_IFACE -p tcp  -m multiport --dports 22,80,873,4949,9102 -j ACCEPT
iptables -A OUTPUT -o $LAN_IFACE -p tcp   -m multiport --dports 22,80,873,4949,9101,9102,9103 -j ACCEPT
iptables -A OUTPUT -o $LAN_IFACE -p tcp  -m multiport --sports 22,80,873,4949,9101,9102,9103 -j ACCEPT