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