Keep in mind that a given Bacula binary can access only one database
type. e.g. PostgreSQL.
If compiled for PostgreSQL, that's what it will work with. not MySQL.
However, I *seem* to recall something about compiling for all, or
something like that. Perhaps someone else can clarify that.
latest releases can compile all backends in one batch, you just need to swap the shared library (libbaccats.so) with the appropriate backend; in the RHEL/Fedora case, the above task can be accomplished in a batch by moving the config file around and an "alternatives --set" command.
To simplify the switching you could move out the database config section in a separate file and change the inclusion in the main one.
Regards,
--Simone
-- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb