Bacula-users

Re: [Bacula-users] Problem with offline clients

2010-08-21 14:07:49
Subject: Re: [Bacula-users] Problem with offline clients
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 21 Aug 2010 14:04:10 -0400
On 08/21/10 11:44, Dan Langille wrote:
> On 8/20/2010 2:50 AM, Alex2398 wrote:
>> Is there a way to check connection before launching the job? I guess 
>> recycling and purging volume should be done AFTER the job is complete, not 
>> before.
> 
> Yes.  Include a Run Before script in your job. In that script, verify 
> the connection.  Then terminate with the right error code to allow / 
> deny the reset of the job.

You can use the checkhost script, located in the Examples directory, for
this.  It was written to do exactly this: check before starting a job
that the client is online, and that the client's FD is running and
listening on port 9103.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>