f5d09cc
======== Features
f5d09cc
489c4ae
- Standard components: director, storage, client, docs, bconsole.
489c4ae
- Graphical components: bat, bacula-tray-monitor (where supported).
489c4ae
- Nagios plugin.
f5d09cc
- HTML/PDF docs.
f5d09cc
- File Daemon bpipe-fd plugin.
f5d09cc
- POSIX.1e capabilities for File Daemon.
f5d09cc
- Systemd for Fedora 15+.
489c4ae
- GZIP/LZO compression (where supported).
f5d09cc
- Static uid/gid of 133 (see "setup" package).
489c4ae
- No usermode / fedora-usermgmt stuff in the console packages.
f5d09cc
f5d09cc
======== PostgreSQL, MySQL and SQLite databases
f5d09cc
f5d09cc
Bacula director supports different databases backends, if you want to switch
f5d09cc
away from the default PostgreSQL one you need to change the "libbaccats" (the
489c4ae
catalogue library) symlink to the real library. The following examples use
f5b1393
version 5.2.5, substitute it with the version you have installed.
f5d09cc
f5d09cc
Show the current database backend:
f5d09cc
f5b1393
# alternatives --display libbaccats.so
f5b1393
libbaccats.so - status is manual.
f5b1393
 link currently points to /usr/lib64/libbaccats-postgresql-5.2.5.so
f5b1393
/usr/lib64/libbaccats-mysql-5.2.5.so - priority 50
f5b1393
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-mysql-5.2.5.so
f5b1393
/usr/lib64/libbaccats-sqlite3-5.2.5.so - priority 40
f5b1393
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-sqlite3-5.2.5.so
f5b1393
/usr/lib64/libbaccats-postgresql-5.2.5.so - priority 60
f5b1393
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-postgresql-5.2.5.so
f5b1393
Current `best' version is /usr/lib64/libbaccats-postgresql-5.2.5.so.
f5d09cc
f5d09cc
To change to a different backend (i.e. MySQL), issue the following command:
f5d09cc
f5b1393
# alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql-5.2.5.so
f5b1393
f5b1393
Or this one to view the various options:
f5b1393
f5b1393
# alternatives --config libbaccats.so
f5b1393
f5b1393
There are 3 programs which provide 'libbaccats.so'.
f5b1393
f5b1393
  Selection    Command
f5b1393
-----------------------------------------------
f5b1393
   1           /usr/lib64/libbaccats-mysql-5.2.5.so
f5b1393
   2           /usr/lib64/libbaccats-sqlite3-5.2.5.so
f5b1393
*+ 3           /usr/lib64/libbaccats-postgresql-5.2.5.so
f5b1393
f5b1393
Enter to keep the current selection[+], or type selection number: 1
f5b1393
f5d09cc
f5d09cc
======== Quick installation guide with the default PostgreSQL backend
f5d09cc
489c4ae
Perform the following commands to install Bacula with its default configuration
489c4ae
and all daemons and consoles in one server.
f5d09cc
f5d09cc
1) Install packages
f5d09cc
f5d09cc
# yum -y install postgresql-server bacula-director bacula-storage \
f5d09cc
	bacula-client bacula-console bacula-console-bat
f5d09cc
f5d09cc
2) Create database
f5d09cc
f5d09cc
# postgresql-setup initdb
f5d09cc
# systemctl enable postgresql.service
f5d09cc
# systemctl start postgresql.service
f5d09cc
# su - postgres
489c4ae
$ cd /usr/libexec/bacula
489c4ae
$ ./create_bacula_database
489c4ae
$ ./make_bacula_tables
489c4ae
$ ./grant_bacula_privileges
f5d09cc
a942783
3) Change passwords in /etc/bacula/*conf with something you like. The default
a942783
   configuration prevents startup if there is any "filler" password in the
a942783
   configuration files.
f5d09cc
f5d09cc
# sed -i -e 's/@@DIR_PASSWORD@@/dir-Fedora/g' \
f5d09cc
        -e 's/@@FD_PASSWORD@@/fd-Fedora/g' \
f5d09cc
        -e 's/@@SD_PASSWORD@@/sd-Fedora/g' \
f5d09cc
        -e 's/@@MON_DIR_PASSWORD@@/mon-dir-Fedora/g' \
f5d09cc
        -e 's/@@MON_FD_PASSWORD@@/mon-fd-Fedora/g' \
f5d09cc
        -e 's/@@MON_SD_PASSWORD@@/mon-sd-Fedora/g' \
f5d09cc
        /etc/bacula/*conf
f5d09cc
f5d09cc
4) Enable daemons and check they are working
f5d09cc
f5d09cc
# systemctl enable bacula-dir.service
f5d09cc
# systemctl enable bacula-sd.service
f5d09cc
# systemctl enable bacula-fd.service
f5d09cc
f5d09cc
# systemctl start bacula-dir.service
f5d09cc
# echo status bacula-dir | bconsole
f5d09cc
f5d09cc
# systemctl start bacula-sd.service
f5d09cc
# echo status bacula-sd | bconsole
f5d09cc
f5d09cc
# systemctl start bacula-fd.service
f5d09cc
# echo status bacula-fd | bconsole
f5d09cc
f5d09cc
5) Install the docs and read them!!
f5d09cc
f5d09cc
# yum -y install bacula-docs
f5d09cc
f5d09cc
======== Bugs
f5d09cc
f5d09cc
Please file bugs against the appropriate component using the Fedora version.
f5d09cc