Update readme

This commit is contained in:
Simone Caronni 2012-06-06 20:02:57 +02:00
parent ac1739c052
commit 763fb252ab

View File

@ -10,32 +10,17 @@
- GZIP/LZO compression (where supported). - GZIP/LZO compression (where supported).
- Static uid/gid of 133 (see "setup" package). - Static uid/gid of 133 (see "setup" package).
- No usermode / fedora-usermgmt stuff in the console packages. - 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.
- Tab completion for bconsole.
======== PostgreSQL, MySQL and SQLite databases ======== PostgreSQL, MySQL and SQLite databases
Bacula director supports different databases backends, if you want to switch Bacula director supports different databases backends, if you want to switch
away from the default PostgreSQL one you need to change the "libbaccats" (the away from the default PostgreSQL one you need to change the "libbaccats" (the
catalogue library) symlink to the real library. The following examples use catalogue library) symlink to the real library.
version 5.2.5, substitute it with the version you have installed.
Show the current database backend: To change to a different backend, issue the following command:
# 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 # alternatives --config libbaccats.so
@ -43,9 +28,9 @@ There are 3 programs which provide 'libbaccats.so'.
Selection Command Selection Command
----------------------------------------------- -----------------------------------------------
1 /usr/lib64/libbaccats-mysql-5.2.5.so 1 /usr/lib64/libbaccats-mysql.so
2 /usr/lib64/libbaccats-sqlite3-5.2.5.so 2 /usr/lib64/libbaccats-sqlite3.so
*+ 3 /usr/lib64/libbaccats-postgresql-5.2.5.so *+ 3 /usr/lib64/libbaccats-postgresql.so
Enter to keep the current selection[+], or type selection number: 1 Enter to keep the current selection[+], or type selection number: 1