Cross platform network backup for Linux, Unix, Mac and Windows
Go to file
Petr Šabata 29d1ad8296 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/bacula#cac642c7f70b8ea04d1ec3d0abcf0afd9bb68e36
2020-10-14 22:10:49 +02:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
.rpmlint RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-autoconf.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-bat-build.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-desktop.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-dir.init RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-dir.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-dir.sysconfig RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-fd.init RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-fd.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-fd.sysconfig RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-ftbfs-f_type.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-g++-options.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-install.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-logwatch.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-non-free-code.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-openssl.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-queryfile.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-sd.init RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-sd.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-sd.sysconfig RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-seg-fault.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-sqlite-priv.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula-tray-monitor.png RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula.logrotate RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
bacula.spec RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
quickstart_mysql.txt RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
quickstart_postgresql.txt RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
quickstart_sqlite3.txt RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
README.Redhat RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-14 22:10:49 +02:00

======== Features

- Standard components: director, storage, client, docs, bconsole.
- Graphical components: bat, bacula-tray-monitor (where supported).
- Tab completion for bconsole.
- Nagios plugin.
- HTML/PDF docs.
- Quick start guides.
- File Daemon bpipe-fd plugin.
- POSIX.1e capabilities for File Daemon.
- Systemd for Fedora and RHEL 7+.
- SysV init scripts for RHEL 5/6.
- GZIP/LZO compression.
- Static uid/gid of 133 (see "setup" package).
- No usermode / fedora-usermgmt stuff in the console packages.
- Docs no longer an arch specific subpackage.
- SQL libraries needed only by Director and Storage daemons.
- 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

======== PostgreSQL, MySQL and SQLite databases

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.

======== Upgrading from old Redhat releases

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.

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.

# 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

All the files that are part of the Director configuration (included with @) must
of course have the same permissions as the main configuration file.

======== Documentation

To see all the available documentation in both HTML and PDF formats, please
install the "bacula-docs" package.

======== Granting user access to the console

The console configuration files are normally readable only by root for security
reasons. If you need to grant access to a specific user or group of users to
the consoles, you can adjust the ACLs on the configuration files. For example:

# setfacl -m u:user:r /etc/bacula/bconsole.conf /etc/bacula/bat.conf

This way the user 'user' can open the console without superuser privileges.