Bacula-users

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

2008-09-05 10:58:57
Subject: Re: [Bacula-users] Bacula compiled with MySQL is using sqlite for catalog.
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Sep 2008 10:58:17 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Macdonald-Wallace wrote:
> 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.

Sounds reasonable to me. There are a few things like this that irritate
me (for example, the username to run the init scripts as generally seems
to be contained in the init scripts, which it urges me not to touch as
they will be overwritten). This could even be gleaned from the binary,
really, as I think the binary will have links to only one kind of
database library.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwUkJmb+gadEcsb4RAtEcAKCC/StSOJt7krbJ2tlhr0ftpZnGnACfTVwm
CC+IdMSYJ7YYX7c+bcZGAmA=
=ec/c
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
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