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