Cross platform network backup for Linux, Unix, Mac and Windows
Go to file
2012-05-28 15:14:00 +02:00
.gitignore Update sources to 5.2.6 2012-02-22 12:05:17 +01:00
bacula-5.0.2-openssl.patch fixed openssl patch 2010-09-23 14:13:22 +02:00
bacula-5.0.3-sqlite-priv.patch - Fixed alternatives for dbcheck (#650224) 2010-11-23 17:42:06 +01:00
bacula-5.2.2-qt-console-optflags.patch 5.2.2 2011-11-30 09:55:59 -05:00
bacula-5.2.2-queryfile.patch Reduce some config patching through configure 2011-12-05 15:03:01 +01:00
bacula-5.2.4-log-path.patch Fix for rhbz#728693 2012-01-20 18:03:42 +01:00
bacula-5.2.6-hostname.patch Official Bacula patches and spec file changes 2012-05-28 15:13:46 +02:00
bacula-5.2.6-python-detect.patch Add python detect workaround in case something goes wrong with detection 2012-05-23 11:12:06 +02:00
bacula-5.2.6-xattr.patch Official Bacula patches and spec file changes 2012-05-28 15:13:46 +02:00
bacula-bat.desktop Add QT tray monitor 2011-12-12 17:18:26 +01:00
bacula-checkconf Syslogging for placeholder passwords 2012-01-20 16:45:45 +01:00
bacula-dir.init Various build fixes and changes. Still has problems with libbaccats-%{version}.so symlink 2011-12-02 18:35:52 +01:00
bacula-dir.service Add POSIX.1e capabilities to bacula-fd 2011-12-06 09:48:33 +01:00
bacula-dir.sysconfig initscripts fixes (#629697) 2010-10-19 17:29:37 +02:00
bacula-fd.init Various build fixes and changes. Still has problems with libbaccats-%{version}.so symlink 2011-12-02 18:35:52 +01:00
bacula-fd.service Add POSIX.1e capabilities to bacula-fd 2011-12-06 09:48:33 +01:00
bacula-fd.sysconfig Add POSIX.1e capabilities to bacula-fd 2011-12-06 09:48:33 +01:00
bacula-sd.init Various build fixes and changes. Still has problems with libbaccats-%{version}.so symlink 2011-12-02 18:35:52 +01:00
bacula-sd.service Add POSIX.1e capabilities to bacula-fd 2011-12-06 09:48:33 +01:00
bacula-sd.sysconfig initscripts fixes (#629697) 2010-10-19 17:29:37 +02:00
bacula-traymonitor.desktop Fix tray monitor desktop file 2012-01-15 11:45:12 +01:00
bacula.logrotate Small log changes 2011-12-07 18:02:25 +01:00
bacula.spec Official Bacula patches and spec file changes 2012-05-28 15:13:46 +02:00
README.Fedora Update to 5.2.5 and add the final stab in the heart of the libbaccats problem 2012-01-26 12:31:57 +01:00
sources Update sources to 5.2.6 2012-02-22 12:05:17 +01:00

======== Features

- Standard components: director, storage, client, docs, bconsole.
- Graphical components: bat, bacula-tray-monitor (where supported).
- Nagios plugin.
- HTML/PDF docs.
- File Daemon bpipe-fd plugin.
- POSIX.1e capabilities for File Daemon.
- Systemd for Fedora 15+.
- GZIP/LZO compression (where supported).
- Static uid/gid of 133 (see "setup" package).
- No usermode / fedora-usermgmt stuff in the console packages.

======== 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. The following examples use
version 5.2.5, substitute it with the version you have installed.

Show the current database backend:

# alternatives --display libbaccats.so
libbaccats.so - status is manual.
 link currently points to /usr/lib64/libbaccats-postgresql-5.2.5.so
/usr/lib64/libbaccats-mysql-5.2.5.so - priority 50
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-mysql-5.2.5.so
/usr/lib64/libbaccats-sqlite3-5.2.5.so - priority 40
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-sqlite3-5.2.5.so
/usr/lib64/libbaccats-postgresql-5.2.5.so - priority 60
 slave libbaccats-5.2.5.so: /usr/lib64/libbaccats-postgresql-5.2.5.so
Current `best' version is /usr/lib64/libbaccats-postgresql-5.2.5.so.

To change to a different backend (i.e. MySQL), issue the following command:

# alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql-5.2.5.so

Or this one to view the various options:

# alternatives --config libbaccats.so

There are 3 programs which provide 'libbaccats.so'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib64/libbaccats-mysql-5.2.5.so
   2           /usr/lib64/libbaccats-sqlite3-5.2.5.so
*+ 3           /usr/lib64/libbaccats-postgresql-5.2.5.so

Enter to keep the current selection[+], or type selection number: 1


======== Quick installation guide with the default PostgreSQL backend

Perform the following commands to install Bacula with its default configuration
and all daemons and consoles in one server.

1) Install packages

# yum -y install postgresql-server bacula-director bacula-storage \
	bacula-client bacula-console bacula-console-bat

2) Create database

# postgresql-setup initdb
# systemctl enable postgresql.service
# systemctl start postgresql.service
# su - postgres
$ cd /usr/libexec/bacula
$ ./create_bacula_database
$ ./make_bacula_tables
$ ./grant_bacula_privileges

3) Change passwords in /etc/bacula/*conf with something you like. The default
   configuration prevents startup if there is any "filler" password in the
   configuration files.

# sed -i -e 's/@@DIR_PASSWORD@@/dir-Fedora/g' \
        -e 's/@@FD_PASSWORD@@/fd-Fedora/g' \
        -e 's/@@SD_PASSWORD@@/sd-Fedora/g' \
        -e 's/@@MON_DIR_PASSWORD@@/mon-dir-Fedora/g' \
        -e 's/@@MON_FD_PASSWORD@@/mon-fd-Fedora/g' \
        -e 's/@@MON_SD_PASSWORD@@/mon-sd-Fedora/g' \
        /etc/bacula/*conf

4) Enable daemons and check they are working

# systemctl enable bacula-dir.service
# systemctl enable bacula-sd.service
# systemctl enable bacula-fd.service

# systemctl start bacula-dir.service
# echo status bacula-dir | bconsole

# systemctl start bacula-sd.service
# echo status bacula-sd | bconsole

# systemctl start bacula-fd.service
# echo status bacula-fd | bconsole

5) Install the docs and read them!!

# yum -y install bacula-docs

======== Bugs

Please file bugs against the appropriate component using the Fedora version.