Hello Bastian, How is it different from the restorejob command line option? (It allows for example to use specific runscript for a RestoreJob, and is a pretty well advanced way to use Bacula).
Bye On 12/03/2012 02:20 PM, Bastian Friedrich wrote: > Hi, > > we have the need to initiate run scripts during the execution of restore > jobs. > These run scripts need to vary depending on the target machines, so we > configured multiple restore jobs. Due to that, the "restore" command needs to > know which restore job to run. > > At this time, bacula allows the configuration of multiple restore jobs. When > the "restore" command is used, these jobs are checked: if none exists, an > error is issued, and the restore is aborted. If exactly one exists, this one > is used. If multiple are used, a dialog is initiated where the user needs to > select the respective job interactively. > > With the attached patch, it is possible to specify the restore job to use on > the bacula command line via a "job=xxx" attribute, such as > > restore job=RestoreFiles fileset=myFileset client=client-fd > restoreclient=client-fd where=/mypath select current all done yes > > Have fun and do what you'd like to with the patch; you do have my FLA. > > Best regards > Bastian > -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel