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