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