Hi, I haven't tested estimate with the plugin and I doubt that the estimate generally works with python plugins.
Have you tried to just run the backup / restore? Regards Maik Am 25.10.2016 um 15:25 schrieb Niall Hallett: > Hi, > > I've installed and setup the python mysql plugin, but when I run an estimate > to test it, the bconsole just sits there after printing this: > > python-fd: Starting backup of /_mysqlbackups_/mysql.sql > > Running the fd in debug: > > bareos-fd (100): parse_conf.c:151-0 config file = > /etc/bareos/bareos-fd.d/*/*.conf > bareos-fd (100): lex.c:356-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/client/myself.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/director/bareos-dir.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/director/bareos-mon.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/messages/Standard.conf > bareos-fd (90): filed_conf.c:445-0 Inserting Director res: bareos-dir > bareos-fd (100): lex.c:356-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/client/myself.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/director/bareos-dir.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/director/bareos-mon.conf > bareos-fd (100): lex.c:250-0 open config file: > /etc/bareos/bareos-fd.d/messages/Standard.conf > app02-fd (100): jcr.c:141-0 read_last_jobs seek to 192 > app02-fd (100): jcr.c:148-0 Read num_items=4 > app02-fd (50): plugins.c:222-0 load_plugins > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdPluginBaseclass.py len=26 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos_fd_consts.py len=19 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos-fd-local-fileset.py len=26 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdPluginLocalFileset.py len=29 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos-fd-mysql.pyc len=19 > app02-fd (50): plugins.c:302-0 Found plugin: name=python-fd.so len=12 > app02-fd (50): plugins.c:302-0 Found plugin: name=bpipe-fd.so len=11 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdWrapper.py len=18 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos-fd.py.template len=21 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdMySQLclass.pyc len=22 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos_fd_consts.pyc len=20 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos-fd-mysql.py len=18 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=bareos-fd-mock-test.py len=22 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdPluginBaseclass.pyc len=27 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdMySQLclass.py len=21 > app02-fd (50): plugins.c:299-0 Rejected plugin: want=-fd.so > name=BareosFdWrapper.pyc len=19 > app02-fd (10): socket_server.c:96-0 filed: listening on port 9102 > app02-fd (100): bnet_server_tcp.c:170-0 Addresses host[ipv4;0.0.0.0;9102] > app02-fd (50): cram-md5.c:68-0 send: auth cram-md5 > <1723046762.1477396131@app02-fd> ssl=0 > app02-fd (100): cram-md5.c:123-0 cram-get received: auth cram-md5 > <1496082784.1477396131@bareos-dir> ssl=0 > app02-fd (99): cram-md5.c:143-0 sending resp to challenge: > /5+5VV/Uc+ogx/++e7/FAC > app02-fd (100): dir_cmd.c:495-0 <dird: JobId=0 > Job=-Console-.2016-10-25_12.48.43_08 SDid=0 SDtime=0 Authorization=dummy > > app02-fd (100): dir_cmd.c:506-0 Executing JobId= command. > app02-fd (5): dir_cmd.c:1647-0 set sd auth key > app02-fd (100): dir_cmd.c:495-0 <dird: level = full mtime_only=0 > > app02-fd (100): dir_cmd.c:506-0 Executing level = command. > app02-fd (10): dir_cmd.c:1469-0 level_cmd: level = full mtime_only=0 > app02-fd (100): dir_cmd.c:495-0 <dird: fileset vss=1 > > app02-fd (100): dir_cmd.c:506-0 Executing fileset command. > app02-fd (100): fileset.c:263-0 I > app02-fd (100): fileset.c:263-0 O MZ6 > app02-fd (100): fileset.c:263-0 X btrfs > app02-fd (100): fileset.c:263-0 X ext2 > app02-fd (100): fileset.c:263-0 X ext3 > app02-fd (100): fileset.c:263-0 X ext4 > app02-fd (100): fileset.c:263-0 X reiserfs > app02-fd (100): fileset.c:263-0 X jfs > app02-fd (100): fileset.c:263-0 X xfs > app02-fd (100): fileset.c:263-0 X zfs > app02-fd (100): fileset.c:263-0 N > app02-fd (100): fileset.c:263-0 F / > app02-fd (100): fileset.c:263-0 N > app02-fd (100): fileset.c:263-0 P > python:module_path=/usr/lib/bareos/plugins:module_name=bareos-fd-mysql:mysqluser=backup:mysqlpassword=XXXXXX > app02-fd (100): python-fd.c:2729-0 python-fd: Constructor called in module > BareosFdPluginBaseclass with plugindef=mysqluser=backup:mysqlpassword=XXXXXX: > app02-fd (100): python-fd.c:2729-0 python-fd: FDName = app02-fd - > BareosFdPluginBaseclass > app02-fd (100): python-fd.c:2729-0 python-fd: WorkingDir: /var/lib/bareos > JobId: 0 > app02-fd (100): python-fd.c:2729-0 python-fd: plugin def parser called with > "mysqluser=backup:mysqlpassword=XXXXXX:" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = "mysqluser:backup" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = "mysqlpassword:XXXXXX" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = ":" > app02-fd (100): python-fd.c:2729-0 python-fd: databases to backup: ['mysql'] > app02-fd (100): fileset.c:263-0 N > app02-fd (100): fileset.c:263-0 E > app02-fd (100): fileset.c:263-0 F /var/lib/bareos > app02-fd (100): fileset.c:263-0 F /var/lib/bareos/storage > app02-fd (100): fileset.c:263-0 F /proc > app02-fd (100): fileset.c:263-0 F /tmp > app02-fd (100): fileset.c:263-0 F /var/tmp > app02-fd (100): fileset.c:263-0 F /.journal > app02-fd (100): fileset.c:263-0 F /.fsck > app02-fd (100): fileset.c:263-0 F /var/lib/mysql > app02-fd (100): fileset.c:263-0 N > app02-fd (100): fileset.c:263-0 N > app02-fd (100): python-fd.c:2729-0 python-fd: handle_plugin_event called with > bEventEndFileSet > app02-fd (100): dir_cmd.c:495-0 <dird: estimate listing=0 > > app02-fd (100): dir_cmd.c:506-0 Executing estimate command. > app02-fd (50): find.c:162-0 Verify=<V> Accurate=<Cmcs> BaseJob=<Jspug5> > flags=<134224336> > app02-fd (100): find_one.c:113-0 Accepting fstype ext4 for "/" > app02-fd (100): htable.c:71-0 malloc buf=7f351669d038 size=1966080 rem=1966056 > app02-fd (100): htable.c:214-0 Allocated big buffer of 1966080 bytes > app02-fd (100): python-fd.c:2729-0 python-fd: plugin def parser called with > "mysqluser=backup:mysqlpassword=XXXXXX:" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = "mysqluser:backup" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = "mysqlpassword:XXXXXX" > app02-fd (100): python-fd.c:2729-0 python-fd: key:val = ":" > app02-fd (100): python-fd.c:2729-0 python-fd: databases to backup: ['mysql'] > app02-fd (100): python-fd.c:2729-0 python-fd: start_backup called > app02-fd (100): python-fd.c:2729-0 python-fd: Dumper: 'mysqldump -u backup > --password=XXXXXX mysql --events --single-transaction --add-drop-database > --databases ' > > and sits there. Running that mysqldump command on the client dumps the db in > a second. > > Regards, > Niall > -- With kind regards // Mit freundlichen Grüßen -- Maik Außendorf [email protected] Bareos GmbH & Co. KG Phone: +49221630693-93 http://www.bareos.com Fax: +49221630693-10 ** Visit us at Paris Open Source Summit 2016 http://opensourcesummit.paris ** 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 -- 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.
