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