Hello, On Tuesday 09 August 2005 12:22, Dominic Marks wrote:
Hello All,Can I make Bacula write out its report for a job to a file, or store it in a database? I'd like to import them into MySQL automatically.How I did it in the end: Direct E-Mails to an alias which delivers to a process, write a small application which receives the reports, parses them and inserts them into a table. I could have also used the file output method, but this was quicker and works over multiple hosts.
I made a perl script that get the job information from the database. I have attached it if someone like to use it.
report.pl
Description: Perl program