Re: [Bacula-users] "Run After Job" character substitutions

2013-12-21 Thread Jay
I was able to put together a small script that grabbed the start and end time from the Bacula database. Didn't take too long to figure it all out. Thanks Jay On Dec 21, 2013, at 2:26 AM, Juraj Sakala wrote: > I can provide you with sample script if you are interested. I use the scritpt > for

Re: [Bacula-users] "Run After Job" character substitutions

2013-12-21 Thread Juraj Sakala
I can provide you with sample script if you are interested. I use the scritpt for pushing statistical information from bacula jobs to elasticsearch. I can analyze and visualize bacula statistics stored in elasticsearch with kibana3. Dňa 20.12.2013 19:07 používateľ "jay" napísal: > Ah ok, that is

Re: [Bacula-users] "Run After Job" character substitutions

2013-12-20 Thread jay
Ah ok, that is a bit more work, but should be easy enough. Thanks for the suggestion! Jay On Fri, Dec 20, 2013 at 11:53 AM, Juraj Sakala wrote: > Hi, > > There is no Elapsed time substitution string in the bacula. But don't > worry. You can run a script after backup that pulls the information

Re: [Bacula-users] "Run After Job" character substitutions

2013-12-20 Thread Juraj Sakala
Hi, There is no Elapsed time substitution string in the bacula. But don't worry. You can run a script after backup that pulls the information about jobid from the bacula database and parses it. So you can use all these information you need to process. In the RunAfterJob you call a script with the

[Bacula-users] "Run After Job" character substitutions

2013-12-20 Thread jay
Hello, I have a question about the character substitutions performed in the "Run After Job" option. I know the list of available substitutions contains things like job bytes (%b), jobid (%i), etc. It there an option available to get the Elapsed Time of a job? Or is there a way to add additional