Bacula is a set of Open Source, enterprise ready, computer programs that permit you (or the system administrator) to manage backup, recovery, and verification of computer data across a network of computers of different kinds. Bacula is relatively easy to use and efficient, while offering many advanced storage management features that make it easy to find and recover lost or damaged files. In technical terms, it is an Open Source, enterprise ready, network based backup program.
Bacula Website: http://www.bacula.org/en/
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
This is disabled at your own risk! We dont recommend it but it makes the installtion easier.
# vi /etc/sysconfig/selinux
Change the following: SELINUX=enforcing to SELINUX=disabled
# cat > /etc/yum.repos.d/webmin.repo << EOF
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
EOF
# rpm --import http://www.webmin.com/jcameron-key.asc# yum install webmin
# yum install mysql-devel mysql-server
# yum install bacula-storage-mysql bacula-docs
# yum install bacula-director-mysql bacula-console
# yum install bacula-client bacula-traymonitor
# service mysqld start
# chkconfig mysqld on
Change the MySQL root password if you have a fresh install of MySQL
# mysqladmin -u root password ‘new-password’
# /usr/libexec/bacula/grant_mysql_privileges -u root -p
# /usr/libexec/bacula/create_mysql_database -u root -p
# /usr/libexec/bacula/make_mysql_tables -u root -p
# /usr/libexec/bacula/grant_bacula_privileges -u root -p
Change Director password, change address and password on Client, change Storage Address and Password, change Console password:
# vi /etc/bacula/bacula-dir.conf
Change bacula-fd password, change bacula-mon password:
# vi /etc/bacula/bacula-fd.conf
Change bacula-dir password, change bacula-mon password, change Device {Archive Device to /backup
# vi /etc/bacula/bacula-sd.conf
Change Address and Password:
# vi /etc/bacula/bconsole.conf
Change Address Password and additionally change Director name to localhost
# vi /etc/bacula/tray-monitor.conf
Create the backup folder
# mkdir /backup
# chown bacula /backup
# mysql -u root -p
Enter Password:
mysql> UPDATE mysql.user SET password=PASSWORD (‘somepassword’)
mysql> WHERE user=’bacula’;
mysql> UPDATE mysql.user SET password=PASSWORD (‘somepassword’) WHERE user=’bacula’;
mysql> FLUSH PRIVILEGES;
mysql> quit
# chkconfig bacula-dir on
# chkconfig bacula-fd on
# chkconfig bacula-sd on
# service bacula-dir start
# service bacula-fd start
# service bacula-sd start
Now use your web browser and go to the host IP address where you installed Bacula
http://10.0.0.20:10000
Все права защищены. Перепечатка материалов без активной ссылки запрещена.
ИП «Жаинбаев Е.Г.», свидетельство о регистрации № 0004274, серия 0101