f5d09cc
======== Features
f5d09cc
489c4ae
- Standard components: director, storage, client, docs, bconsole.
489c4ae
- Graphical components: bat, bacula-tray-monitor (where supported).
489c4ae
- Nagios plugin.
f5d09cc
- HTML/PDF docs.
f5d09cc
- File Daemon bpipe-fd plugin.
f5d09cc
- POSIX.1e capabilities for File Daemon.
f5d09cc
- Systemd for Fedora 15+.
489c4ae
- GZIP/LZO compression (where supported).
f5d09cc
- Static uid/gid of 133 (see "setup" package).
489c4ae
- No usermode / fedora-usermgmt stuff in the console packages.
763fb25
- Docs no longer an arch specific subpackage.
763fb25
- SQL libraries needed only by Director and Storage daemons.
763fb25
- Tab completion for bconsole.
f5d09cc
f5d09cc
======== PostgreSQL, MySQL and SQLite databases
f5d09cc
f5d09cc
Bacula director supports different databases backends, if you want to switch
f5d09cc
away from the default PostgreSQL one you need to change the "libbaccats" (the
763fb25
catalogue library) symlink to the real library.
f5d09cc
763fb25
To change to a different backend, issue the following command:
f5b1393
f5b1393
# alternatives --config libbaccats.so
f5b1393
f5b1393
There are 3 programs which provide 'libbaccats.so'.
f5b1393
f5b1393
  Selection    Command
f5b1393
-----------------------------------------------
763fb25
   1           /usr/lib64/libbaccats-mysql.so
763fb25
   2           /usr/lib64/libbaccats-sqlite3.so
763fb25
*+ 3           /usr/lib64/libbaccats-postgresql.so
f5b1393
f5b1393
Enter to keep the current selection[+], or type selection number: 1
f5b1393
f5d09cc
======== Quick installation guide with the default PostgreSQL backend
f5d09cc
489c4ae
Perform the following commands to install Bacula with its default configuration
489c4ae
and all daemons and consoles in one server.
f5d09cc
f5d09cc
1) Install packages
f5d09cc
f5d09cc
# yum -y install postgresql-server bacula-director bacula-storage \
f5d09cc
	bacula-client bacula-console bacula-console-bat
f5d09cc
f5d09cc
2) Create database
f5d09cc
f5d09cc
# postgresql-setup initdb
f5d09cc
# systemctl enable postgresql.service
f5d09cc
# systemctl start postgresql.service
f5d09cc
# su - postgres
489c4ae
$ cd /usr/libexec/bacula
489c4ae
$ ./create_bacula_database
489c4ae
$ ./make_bacula_tables
489c4ae
$ ./grant_bacula_privileges
f5d09cc
a942783
3) Change passwords in /etc/bacula/*conf with something you like. The default
a942783
   configuration prevents startup if there is any "filler" password in the
a942783
   configuration files.
f5d09cc
f5d09cc
# sed -i -e 's/@@DIR_PASSWORD@@/dir-Fedora/g' \
f5d09cc
        -e 's/@@FD_PASSWORD@@/fd-Fedora/g' \
f5d09cc
        -e 's/@@SD_PASSWORD@@/sd-Fedora/g' \
f5d09cc
        -e 's/@@MON_DIR_PASSWORD@@/mon-dir-Fedora/g' \
f5d09cc
        -e 's/@@MON_FD_PASSWORD@@/mon-fd-Fedora/g' \
f5d09cc
        -e 's/@@MON_SD_PASSWORD@@/mon-sd-Fedora/g' \
f5d09cc
        /etc/bacula/*conf
f5d09cc
f5d09cc
4) Enable daemons and check they are working
f5d09cc
f5d09cc
# systemctl enable bacula-dir.service
f5d09cc
# systemctl enable bacula-sd.service
f5d09cc
# systemctl enable bacula-fd.service
f5d09cc
f5d09cc
# systemctl start bacula-dir.service
f5d09cc
# echo status bacula-dir | bconsole
f5d09cc
f5d09cc
# systemctl start bacula-sd.service
f5d09cc
# echo status bacula-sd | bconsole
f5d09cc
f5d09cc
# systemctl start bacula-fd.service
f5d09cc
# echo status bacula-fd | bconsole
f5d09cc
6c1a0c5
5) Install the docs and read them
f5d09cc
f5d09cc
# yum -y install bacula-docs
f5d09cc
6c1a0c5
6) If you don't backup to disk and have a tape library or autochanger, please
6c1a0c5
also install the magnetic tapes commands:
6c1a0c5
6c1a0c5
# yum -y install mt-st mtx
6c1a0c5
6c1a0c5
f5d09cc
======== Bugs
f5d09cc
f5d09cc
Please file bugs against the appropriate component using the Fedora version.
f5d09cc