--- Jo <[EMAIL PROTECTED]> wrote: > 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 >
Hi Jo, That's too bad that I can't do it through python or php with out scripting the bconsole. I think a better interface than scripting the console should be done for using a web interface to restore files. Thanks for the advice on wxconsole. I'll take a look at it. Dave __________________________________________________________ Find your next car at http://autos.yahoo.ca ------------------------------------------------------- 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