>From Python/PHP you can script the console, so you can write your web
app in any case.

I'm a Python programmer if you have questions or are looking to farm
out a job.

Sim
________________________________________________________________________________

Dave Sutherland wrote:

>Hello,
>
> I'm build a really simple web interface to list all
>the recent jobs, grouped by client.  I have this
>runing now and would appreciate two examples of how to
>use python in a php web application to do:
>
> 1.Restore a job given a jobid
> 2.Restore selected files from a job given the jobid
>and  list of files
>
>BTW: I not a python programmer, so the more detailed
>the explination the better and before anyone points
>out that there is a bacula-web application - yes I
>know.  
>
>Any python programmers out there?
>
>Thanks 
>Dave
>  
>
Hi Dave,

I hope somebody will correct me if I'm wrong, but I don't think this is 
possible at the moment. It is possible to write Python code that will be 
executed when certain events occur within Bacula; a tape needs to be 
mounted, a backup job starts, etc.
What you want to do is possible by scripting bconsole. Have a look at 
the code for wxconsole for hints on how to do it.

Greetings,

Jo


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to