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