Bacula-users

Re: [Bacula-users] Bacula compiled with MySQL is using sqlite for catalog.

2008-09-05 05:30:24
Subject: Re: [Bacula-users] Bacula compiled with MySQL is using sqlite for catalog.
From: Matthew Macdonald-Wallace <lists AT truthisfreedom.org DOT uk>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 5 Sep 2008 09:56:47 +0100
On Fri, 05 Sep 2008 10:48:27 +0200
Arno Lehmann <al AT its-lehmann DOT de> wrote:

> This looks like, during the upgrade, the make_catalog_backup script 
> wasn't replaced. (This is, generally, desirable as it's not uncommon 
> you modify that script.)

Bang on the money!

Thanks for that, it would have taken me ages to track it down, the only
difference between the files appears to be whether test is run against
"xmysql" or "xsqlite".

Although I can see reasons why you'd test against a static variable in
the file, would there also be an argument to have a "DBType = " var in
one of the .conf files that enabled you to switch between backends?

I know nothing about the code so any reasons why this would be a Bad
Thing (tm) would be appreciated.

Kind regards,

Matt.
-- 
Matthew Macdonald-Wallace
matthew AT truthisfreedom.org DOT uk
http://www.truthisfreedom.org.uk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users