
And at the first day God made.... Backup! =)
Fetch the written course complimentary material - my Bacula ebook from Amazon.com: https://www.amazon.com/Bacula-Open-Source-Backup-Software-ebook/dp/B01MG7U5M4/ref=sr_1_1?ie=UTF8&qid=1479841355&sr=8-1&keywords=bacula
My website: http://www.bacula.us
Bacula full Manual: http://www.bacula.us/?page_id=1880
Be my friend at Facebook: https://www.facebook.com/heitor.faria
Remark: If you need in-company Bacula training or implementation worldwide send a email to heitor@bacula.com.br
apt-get install libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl python apt-show-versions libdbd-mysql-perl libpg-perl libdbd-pg-perl
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.760_all.deb
dpkg -i webmin_1.760_all.deb
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-DBD-MySQL perl-DBD-Pg
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.760-1.noarch.rpm
rpm -U webmin-1.760-1.noarch.rpm
Selinux Disable:
vi /etc/selinux/config
Set both values to disabled.
You can download and try other webmin themes from this site: http://www.webmin.com/cgi-bin/search_third.cgi?themes=1
If you want to change quickly the Director Name in all Bacula server configuration files, it the name that was fetch from the hostname is not significative:
sed -i s/localhost.localdomain-dir/bacula-dir/g /etc/bacula/*.conf
Or maybe change the name of all daemons at once:
sed -i s/localhost.localdomain/bacula/g /etc/bacula/*.conf
Restart Bacula daemons to apply changes.
CORRECTION: for Label Format variables usage you must use quotes, even inserting information with Webmin,
Nas pools a diretiva de tempo "Volume Use Duration" garante que o volume seja encerrado e a retenção comece a ser contada.
Never use localhost at Storage address configuration. If you are building Bacula from source you can specify the local network address at the code configuration. See more at http://bacula.us, compilation.
Remark: editing the Schedule on bacula-dir.conf text file may grant lots of another options, like specifying different storages, Next Pool (copy jobs), enable or disable compression etc.
The fresh disk configuration for devices (e.g.: Random Access=yes) are the optimum for disk based backups and normally you should not need to change anything.
Remark: if you deleted the devices from the second group (FileChgr2) like I did in the video you MUST also delete the group configuration within /etc/bacula/bacula-sd.conf and restart Storage Daemon to apply changes. Those are the lines:
Autochanger {
Name = FileChgr2
Device = FileChgr2-Dev1, FileChgr2-Dev2
Changer Command = ""
Changer Device = /dev/null
}
Remark: if you have a cleaning tape into your tape library you must put the directive "Cleaning Prefix=CLN" in all Bacula pools, so Bacula wont try to create a volume on them when submitting the label barcodes command.
Remark: if you can't see the client list using the Webmin status client or restore command you may need to make a minor adjustment in webmin code. E.g.:
vi /usr/libexec/webmin/bacula-backup
...
local @rv;
local $client;
foreach my $l (split(/\r?\n/, $clients)) {
# if ($l =~ /^Client:\s+name=([^=]*\S)\s/ ||
if ($l =~ /^Client:\s+Name=([^=]*\S)\s/ ||
$l =~ /^\s*Name\s*=\s*"(.*)"/) {
$client = { 'name' => $1 };
if ($l =~ /address=(\S+)/ && $client) {
$client->{'address'} = $1;
...
Remark: if you can't see the client list using the Webmin status client or restore command you may need to make a minor adjustment in webmin code. E.g.:
vi /usr/libexec/webmin/bacula-backup/bacula-backup-lib.pl
...
local @rv;
local $client;
foreach my $l (split(/\r?\n/, $clients)) {
# if ($l =~ /^Client:\s+name=([^=]*\S)\s/ ||
if ($l =~ /^Client:\s+Name=([^=]*\S)\s/ ||
$l =~ /^\s*Name\s*=\s*"(.*)"/) {
$client = { 'name' => $1 };
if ($l =~ /address=(\S+)/ && $client) {
$client->{'address'} = $1;
...
The Webmin interface is the most complete Bacula configuratio graphical interface available nowadays!
This training is part of a serie that will lead you to be an administration and configuration backup experte using free software.
Learn how to :
Webmin is fully customizable in terms of access control, monitoring of server resources, change of appearance through themes etc.
Developed in Perl, Bacula module is relatively simple to have the edited code and have other commands added.