Danskmand <hbrolarsen <at> gmx.de> writes: > > Howdy - I got a Ubuntu 14.04 lts Server that has the newest Bareos-fd > installed and running. > It connects to the Bareos-server and sends it all the files that need to > be backed up to the server - no problem... > Now I want tot install the mysql-plugin. I set the bareos-fd.conf > to "Plugin Directory = /usr/lib/bareos/plugins", restarted the fd > and - nothing ! > When I looked at the status of the server in the bconsole of the > Bareos-server, all I saw was this: > Plugin Info: > Plugin : bpipe-fd.so > Description: Bareos Pipe File Daemon Plugin > Version : 2, Date: January 2014 > Author : Kern Sibbald > License : Bareos AGPLv3 > Usage : bpipe:file=<filepath>:reader=<readprogram>:writer=<writeprogram> > readprogram runs on backup and its stdout is saved > writeprogram runs on restore and gets restored data into stdin > the data is internally stored as filepath (e.g. mybackup/backup1) > > Plugin : python-fd.so > Description: Python File Daemon Plugin > Version : 3, Date: May 2014 > Author : Marco van Wieringen > License : Bareos AGPLv3 > Usage : python:module_path=<path-to-python-modules>:module_name=<python-module-to-load> > > So I started the fd with specified plugin using > "Plugin Names = "bareos-fd-mysql.py". Restarted > bareos-fd and now I see no plugin loaded. >
That is not quite true both python and bpipe are loaded. But your real problem is that you don't load .py files those are plugin scripts not plugins. the python-fd.so is the actual plugin and that loads the actual python script as the module_name= expresses in the config line. > > I know I havent configured anything yet, but shouldnt it at least load > the plugins and not rejecting them ? As explained above the .py/.pyc are not plugins but just plugin scripts executed by the python-fd.so The actual invocation of the plugin happens with a proper fileset, please read the docs on the mysql plugin: https://github.com/bareos/bareos-contrib/tree/master/fd-plugins/mysql-python -- Marco van Wieringen [email protected] Bareos GmbH & Co. KG Phone: +49-221-63069389 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz, M. v. Wieringen -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
