bacula/README.Fedora

94 lines
2.8 KiB
Plaintext
Raw Normal View History

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).
- Nagios plugin.
2012-01-04 14:17:24 +00:00
- HTML/PDF docs.
- File Daemon bpipe-fd plugin.
- POSIX.1e capabilities for File Daemon.
- Systemd for Fedora 15+.
2012-01-18 16:41:51 +00:00
- GZIP/LZO compression (where supported).
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.
- Tab completion for bconsole.
2012-01-04 14:17:24 +00:00
======== 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
2012-06-06 18:02:57 +00:00
catalogue library) symlink to the real library.
2012-01-04 14:17:24 +00:00
2012-06-06 18:02:57 +00:00
To change to a different backend, issue the following command:
# alternatives --config libbaccats.so
There are 3 programs which provide 'libbaccats.so'.
Selection Command
-----------------------------------------------
2012-06-06 18:02:57 +00:00
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
2012-01-04 14:17:24 +00:00
======== Quick installation guide with the default PostgreSQL backend
2012-01-18 16:41:51 +00:00
Perform the following commands to install Bacula with its default configuration
and all daemons and consoles in one server.
2012-01-04 14:17:24 +00:00
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
2012-01-18 16:41:51 +00:00
$ cd /usr/libexec/bacula
$ ./create_bacula_database
$ ./make_bacula_tables
$ ./grant_bacula_privileges
2012-01-04 14:17:24 +00:00
2012-01-20 15:27:26 +00:00
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.
2012-01-04 14:17:24 +00:00
# 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.