On 12/08/2015 12:15 PM, [email protected] wrote: > I am trying to use the mysql-python plugin on Ubuntu from: > > https://github.com/bareos/bareos-contrib/tree/master/fd-plugins/mysql-python > > I have installed the bareos-filedaemon-python-plugin and copied the > BareosFdMySQLclass.py and bareos-fd-mysql.py to /usr/lib/bareos/plugins
How did you download the files from github? I would suggest to use the "Raw" links on github, eg. like this: cd /usr/lib/bareos/plugins wget https://github.com/bareos/bareos-contrib/raw/master/fd-plugins/mysql-python/bareos-fd-mysql.py wget https://github.com/bareos/bareos-contrib/raw/master/fd-plugins/mysql-python/BareosFdMySQLclass.py Regards, Stephan > I have added the following to the clients bareos-fd.conf: > > Plugin Directory = /usr/lib/bareos/plugins > > When I try to run a backup I received the following error message: > > > 08-Dec 11:09 BACULA-fd JobId 17: Fatal error: SyntaxError: ('invalid syntax', > ('/usr/lib/bareos/plugins/bareos-fd-mysql.py', 5, 1, '\n')) > > Any help appreciated > > Thanks > > Daniel > -- Stephan Dühr [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-90 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp 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.
