On Jan 23, 2008 9:12 AM, Bill Szkotnicki <[EMAIL PROTECTED]> wrote:
>
> Thank you for that but I am still wondering about this scenario.
> 1) the client is scheduled for 9AM
> 2) it arrives on the network at 10AM well within "Max Wait Time"
> 3) how long does it take for the scheduled backup to begin? ( i.e. does the
> director check for jobs for clients every 10 minutes or 5 minutes ? and is
> that configurable like a crontab? )
>
I am not sure. There is also another more configurable way to do this.
This was just discussed in the bacula-devel list although it has not
hit the archives so I will copy a post from Nigel Stepp:
<quote>
> I'd now like to schedule the backup for 09:00 AM and tell bacula "Just retry
> later if it doesn't succeed, that's not a serious problem".
This actually is doable using the current set of configuration
directives. I have the following in my bacual-dir.conf:
JobDefs {
Name = "LaptopTapeJob"
Type = Backup
Level = Incremental
Client = bigiron-fd
Storage = Tape
Messages = Standard
Pool = TapePool
Priority = 10
Spool Data = Yes
Schedule = "SemiMonthly"
Rerun Failed Levels = yes
Reschedule On Error = yes
Reschedule Interval = 1 hour
Reschedule Times = 6
}
The last 3 lines are what you want. Set whatever start time you want,
then if it fails it will try again every hour for 6 hours.
</quote>
So in this case you can set the interval to try and the number of
retries for a failed job.
Now the post from Phil Stracchino explains a way to get the job to
instantly fail if the client is down:\
<quote>
I use a checkhost RunBefore that pings and pokes the client to see if
it's (a) alive and (b) accepting connections on the client port. It
returns a failure if either of these is false.
</quote>
John
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users