Hi, is the definition o restore job i use for restoring the backed up files using webacula interface.
Job { Name = "Restore" SpoolData = yes Type = Restore Client = restore Storage = File Where = "/tmp/restores/job-%j/" Pool = "Krt Pool" Messages = Standard FileSet = "Dummy Set" } I'm trying to modify the webacula interface according to following scenario: - user starts a restore job for specific data via webacula - restore job restores the data to /tmp/restores/job-jobid/ - python script that runs on job completion, packs the /tmp/restores/job-jobid as filename.tar.gz and moves it to a directory where web server can access - user downloads the filename.tar.gz from web interface http://www.bacula.org/en/dev-manual/Python_Scripting.html doesn't provide much information about scripting, and it seems that dynamic naming for restore path(where=) is not possible. If it's possible, how can i provide dynamic paths for restore jobs? Any other suggestions are also welcomed :) thanks. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users