Bacula-users

Re: [Bacula-users] Running one director with mixed db backends / catalogs?

2013-02-06 09:32:33
Subject: Re: [Bacula-users] Running one director with mixed db backends / catalogs?
From: Simone Caronni <negativo17 AT gmail DOT com>
To: Dan Langille <dan AT langille DOT org>
Date: Wed, 6 Feb 2013 15:30:29 +0100
Hello,

On 6 February 2013 15:19, Dan Langille <dan AT langille DOT org> wrote:
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
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users