On 02/09/2016 02:14 PM, Arjen Van Drie wrote: > Hi List, > > I have a couple of informix databases that I would like to backup. The > _informix_ backup schedule (so _not_ the bareos one) is as follows: > > - once a month a level 0 > - once a week a level 1 (differential) > - every hour an rsync of the binary (logical) logs > > I am considering using a "Client Run Before Job" to initiate the informix > backup. This informix backup can take up to 1 hour or more. > > I have the following questions (that I could not find in the docs, maybe I > didn't look well enough): > > * Is the fd reporting success or failure of the Client_Run_Before_Job to > the director sync or async (will a network socket remain open during the > run_before_job) ?
While a backup job is running, fd will have tcp connection established to director and another one to sd. If there's a stateful firewall between fd and dir/sd, it could drop the state of idle connections, then I'd consider setting Heartbeat Interval = 1m the parameter can be set for all bareos daemons, see http://doc.bareos.org > * How long will the director wait for a Client_Run_Before_Job to finish ? As far as I know, there is no default for the "Max Run Time" parameter, looking it up on http://doc.bareos.org/, there's a note saying that the watchdog thread will kill jobs after 6 days. > * How is succes or failure detirmed ? Is that by exit status of the script > that is run before that job ? The manual states "Fail job if script returns > something different from 0". I assume that is > an exit status, or is it a literal "0" ? That refers to the exit code (integer) of the script. Regards -- Stephan Dühr [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-90 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz, M. v. Wieringen -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
