This is an update to let everyone know this is working well.  I set the
retry for every hour so that I could catch the machines that are only on a
few hours a day.

I also set up a ping script that is called before all jobs:

#!/bin/sh
host=`echo $1 | sed -e 's/-fd//'`
ping -c 1 $host
exit $?

The way I made it work was based on the assumption that my Clients had the
names:  <name>-fd where the actual host name was <name>.  So, in the script
call, I used %c as the argument (Client name) and then in the script, it
strips off the -fd to create a ping-able host name.  It would be better if
there was some way to pass the Client's address to the script, but this
works as long as I name all the clients this way.

Many thanks,

Steve

On 7/25/07, Steve <[EMAIL PROTECTED]> wrote:
>
> Thanks again.   This seems to work very well!
>
> I am trying to run a ping script before as well, although it needs some
> work to get the address from the Client name.
>
> On 7/24/07, Brian Debelius <[EMAIL PROTECTED]> wrote:
> >
> > ohhh, ahhh,  is this new?
> >
> > brian-
> >
> > Junior Cunha wrote:
> > > Steve Poulsen wrote:
> > >
> > >> I am backing up several machines, but a couple of them are only on
> > >> about 10% of the day.  Is there any kind of option on the daily
> > >> backups to have it retry every hour so that when the machine comes
> > >> back up it can get backed up?
> > >>
> > > Hi Steve,
> > >
> > >   You can use this options in your Job definition:
> > >
> > >   Reschedule On Error, Reschedule Interval and Reschedule Times.
> > >
> > >   Below, a full example:
> > >
> > > Job {
> > >   Name = dns1
> > >   Type = Backup
> > >   Client = dns1
> > >   FileSet = Full
> > >   Messages = messages
> > >   Storage = StorageServer
> > >   Maximum Concurrent Jobs = 5
> > >   Pool = Default
> > >   Full Backup Pool = Full
> > >   Incremental Backup Pool = Incremental
> > >   Schedule = Daily
> > >   Priority = 1
> > >   Prune Jobs = yes
> > >   Write Bootstrap = /var/db/bacula/dns1.bsr
> > >   Reschedule On Error = yes
> > >   Reschedule Interval = 2 hour
> > >   Reschedule Times = 6
> > > }
> > >
> > >    []s
> > >
> > > Junior Cunha
> > >
> > >
> > >
> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a
> > browser.
> > > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > > _______________________________________________
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > >
> >
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to