6d394f
======== Features
6d394f
6d394f
- Standard components: director, storage, client, docs, bconsole.
6d394f
- Graphical components: bat, bacula-tray-monitor (where supported).
6d394f
- Tab completion for bconsole.
6d394f
- Nagios plugin.
6d394f
- HTML/PDF docs.
6d394f
- Quick start guides.
6d394f
- File Daemon bpipe-fd plugin.
6d394f
- POSIX.1e capabilities for File Daemon.
6d394f
- Systemd for Fedora and RHEL 7+.
6d394f
- SysV init scripts for RHEL 5/6.
6d394f
- GZIP/LZO compression.
6d394f
- Static uid/gid of 133 (see "setup" package).
6d394f
- No usermode / fedora-usermgmt stuff in the console packages.
6d394f
- Docs no longer an arch specific subpackage.
6d394f
- SQL libraries needed only by Director and Storage daemons.
6d394f
- SQL backend management through the alternatives system.
6d394f
6d394f
======== Quick start
6d394f
6d394f
Please look at the following files for a quick start with the various database
6d394f
backends:
6d394f
6d394f
- quickstart_mysql.txt
6d394f
- quickstart_postgresql.txt
6d394f
- quickstart_sqlite3.txt
6d394f
6d394f
======== PostgreSQL, MySQL and SQLite databases
6d394f
6d394f
Bacula director supports different databases backends, if you want to switch
6d394f
away from the default PostgreSQL one you need to change the "libbaccats" (the
6d394f
catalogue library) symlink to the real library.
6d394f
6d394f
To change to a different backend, issue the following command:
6d394f
6d394f
# alternatives --config libbaccats.so
6d394f
6d394f
There are 3 programs which provide 'libbaccats.so'.
6d394f
6d394f
  Selection    Command
6d394f
-----------------------------------------------
6d394f
   1           /usr/lib64/libbaccats-mysql.so
6d394f
   2           /usr/lib64/libbaccats-sqlite3.so
6d394f
*+ 3           /usr/lib64/libbaccats-postgresql.so
6d394f
6d394f
Enter to keep the current selection[+], or type selection number: 1
6d394f
6d394f
There is NO need to edit any part in the Bacula Director configuration; for the
6d394f
purposes of the database creation steps, the bacula-dir.conf configuration file
6d394f
can be left at their default values.
6d394f
6d394f
======== Switiching between PostgreSQL, MySQL and SQLite backends
6d394f
6d394f
To switch the configured backend to another one, follow the above procedure.
6d394f
Again, there's no need to edit the Bacula Director configuration file; the
6d394f
catalog resource can be left as is.
6d394f
6d394f
Importing and exporting data between the various database formats is up to the
6d394f
user. If the database will be re-initialized from scratch, follow the quick
6d394f
start guides mentioned above.
6d394f
6d394f
======== Upgrading from old Redhat releases
6d394f
6d394f
When upgrading from old Redhat releases, the "bacula-libs-sql" package takes
6d394f
care of making the appropriate selection for the database backend based on what
6d394f
was previously configured on the old system.
6d394f
6d394f
The default permissions in the "/etc/bacula" folder have changed; please perform
6d394f
the following commands for restoring the permissions for the correct operation
6d394f
of the daemons.
6d394f
6d394f
# chown -R root:root /etc/bacula
6d394f
# chmod 755 /etc/bacula
6d394f
# chmod 640 /etc/bacula/*
6d394f
# chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql
6d394f
6d394f
All the files that are part of the Director configuration (included with @) must
6d394f
of course have the same permissions as the main configuration file.
6d394f
6d394f
======== Documentation
6d394f
6d394f
To see all the available documentation in both HTML and PDF formats, please
6d394f
install the "bacula-docs" package.