Hi, I develop a web-interface for bacula. I can tell you that I would like to see in Bacula. You can accept this or not.
First. Any status or action Bacula should be recorded in the database. (often Job state in the database and message from the Director is different) Second. This applies to the Restore Job. I create a temporary table, eg _file_XXX _filename_XXX _path_XXX where XXX - is md5 (JobId), or md5 (JobId1. .. JobIdN) These tables contain some data from the original tables Bacula (File, Filename, Path). Also, temporary tables contain the decoded data on the file size and one additional field: FileSize INTEGER DEFAULT 0 isMarked INTEGER DEFAULT 0 Field 'isMarked' shows the file is selected for Restore or not. Then the path + filename, where (isMarked! = 0) written to a file, for example, /tmp/webacula_restore_XXX.tmp And run Restore Job: bconsole file=<"/tmp/webacula_restore_XXX.tmp" Therefore, I would like the file "/tmp/webacula_restore_XXX.tmp" could be transmitted over the network from bconsole to the Director. Perhaps all this is too difficult. I hope this information will help make Bacula easier for developers of web-interfaces. 2010/1/29 Eric Bollengier <e...@eb.homelinux.org>: ... >> > This part isn't included in bvfs. The director can already restore files >> > with a given SQL table containing JobIds and FileIds. >> >> I meant it: >> >> restore ... file=</tmp/file-list > > No, with "restore file=?tablename" or something similar "restore file" has only one parameter - the name of the file, not table. > > See bat and src/dird/restore.c for more info > > Bye > >> >> With bvfs API that I can see the same hard problem as without bvfs. >> > >> > Selection/restoration calls are missing at this time, >> > If you have ideas to improve the API, they are welcome. >> > >> >> Possible for other web-interfaces, which need only view >> >> files/directories, bvfs may be useful. >> > >> > Roma wasn't built in one day. This is a first step, and it needs >> > feedbacks to grow. >> >> Yes, I understand. >> Well, that bacula will move towards. >> >> > Bye > -- with best regards ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel