The dbdriver never worked satisfactorily and has long been depreciated because the author admitted that it did not function as he had hoped.  I think the code has been removed in version 9.0.x

Best regards,

Kern


On 04/26/2018 01:40 PM, Radosław Korzeniewski wrote:
Hello Developers,

I found a following issue reported at bugs.bacula.org: "0002340: Bacula doesn't set db_driver by default when you compile" and I have some questions about it. What I can find in Bacula documentation about a dbdriver parameter is:

Catalog {
  Name = MyCatalog
  dbdriver = dbi:mysql; dbaddress = 127.0.0.1; dbport = 3306
  dbname = regress; user = regress; password = ""
}
The parameter dbdriver indicates that we will use the driver dbi with a mysql database.  Currently the drivers supported by Bacula are:  postgresql, and mysql; these are the names that may be added to string ”dbi:”.

So, as I understand the dbdriver is a parameter used by a DBI to select what database backend it should use. I think that current Bacula (9.x) does not support a libdbi anymore, so I think that a documentation and a Bacula code itself should be updated in this case, or I miss a different purpose of this parameter?

I checked it and the current Bacula code just ignore the dbdriver parameter completely and I can set it to any value I like. Sure the value set in config file will be displayed in show catalog command mentioned in the above ticket.

best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to