Package: bacula
Version: 2.4.4-1
Severity: minor
After installation of bacula, bacula-dir / bacula-sd / bacula-fd /bacula-mysql
, I needed to do some configuration.
I had to debug somse scripts to figure out how to get there and I had problems
with the daemons connecting with each other.
I suggest that the following will be mentioned in the README.Debian files, so
other people will beneift from my time spent with it:
[part1]
When using passwords for MySQL you need to consider a way to pass this password
to mysql.
Default settings are that this password is not sent when doing a catalog-dump,
because it is passed on the command line, and every logged in user can see this.
If you have no users on this machine, you can change the line
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula"
to
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula
PASSWORDHERE"
Otherwise, one has to figure out another way (sorry I cannot help with this
part)
[part2]
Although it is mentioned in the conf files, that one should use fully
distinguised names, it is not mentioned in all conf files.
One needs to enter the FQDN at the following places, and thereby replacing the
defaults. Even if this FQDN resolves to 127.0.0.1
IE:
bacula-dir.conf:
Client {
Name = hrbackup01-fd
Address = hrbackup01.intranet.example.com # YOU NEED TO ENTHER FQDN HERE AS
WELL
FDPort = 9102
Catalog = MyCatalog
Password = "ARm7qyF3lJSBKJ9NRICUj+Ry3PRJ3EZN92EnilHFVb8/" # password
for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Storage {
Name = File
# Do not use "localhost" here
Address = hrbackup01.intranet.example.com # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "sL0Pjc3Nl1Je8zgVW3u8+0cI+vdIl5XdizCLU0v5dotr"
Device = FileStorage
Media Type = File
}
bacula-fd.conf
:FileDaemon { # this is me
Name = hrbackup01-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
# FDAddress = 127.0.0.1
FDAddress = hrbackup01.intranet.example.com # YOU NEED TO ENTHER FQDN HERE
AS WELL
}
bacula-sd.conf
Storage { # definition of myself
Name = hrbackup01-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = hrbackup01.intranet.example.com # YOU NEED TO ENTHER FQDN HERE
AS WELL
# SDAddress = 127.0.0.1
}
[part3]
After configuration as mentioned above you need to create a volume by issuing
the command label to the director.
These additions will kick of a new user.
Thank You
Frank IJskes
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bacula depends on:
ii bacula-client 2.4.4-1 network backup, recovery and verif
ii bacula-server 2.4.4-1 network backup, recovery and verif
bacula recommends no packages.
Versions of packages bacula suggests:
ii bacula-doc 2.4.4-1 Documentation for Bacula
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]