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