
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
Explore Webmin, a web-based Linux system administration tool compatible with Red Hat, Debian, FreeBSD, and Solaris. Learn graphical configuration, access control, updates, and deploying services like firewall and Postfix.
Explore Bacula and Webmin requirements, including installation basics, browser Java plugin needs, and managing Webmin dependencies and database choices for Bacula configurations.
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
Configure the Bacula webmin module to access the Bacula database, create a user with a password, set the database host address, and restart the Bacula daemon to apply the configuration.
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.
Configure bacula-dir.conf by defining backup jobs and defaults, choosing incremental or differential levels, storage, and priority. Learn how catalog backups use scripts and file sets to manage dumps after hours.
Configure bacula-dir.conf to add a new client by setting its hostname or ip, port 9101, and the client password, then tune volumes and job retention.
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.
Configure bacula-dir.conf file sets to back up a client, defining two backup jobs: one for the catalog and one for data files, with selective excludes and optional compression.
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;
...
Learn to create a new file set and configure a backup job in Bacula via Webmin, selecting client directories, storage, catalogs, and timing options while verifying connectivity.
Install and configure the Bacula Windows client, pairing it with the director, securing the connection with a password, and enabling firewall exceptions.
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;
...
Explore Bacula 2 Webmin GUI operations, including running backup jobs, viewing running and completed jobs, and managing client and storage configurations with volumes.
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.