Bacula-users

Re: [Bacula-users] character substitution / client ip

2011-02-05 14:57:38
Subject: Re: [Bacula-users] character substitution / client ip
From: Dan Langille <dan AT langille DOT org>
To: Paulo Martinez <martinezino AT googlemail DOT com>
Date: Sat, 05 Feb 2011 14:54:21 -0500
On 2/5/2011 2:03 PM, Paulo Martinez wrote:
> Am 05.02.2011 um 15:52 schrieb Dan Langille:
>> On 2/5/2011 8:07 AM, Paulo Martinez wrote:
>>> Dear List,
>>>
>>> in the job resource, character substitution like this
>>>
>>>    Write Bootstrap = "%c_%n.bsr"
>>>
>>>    %c = Client's name
>>>    %n = Job name
>>>
>>> is nice to have.
>>>
>>> What about the ip of the client? Is there a way to get the
>>> client ip via such substitution?
>>>
>>> e.g.
>>>
>>> Run Before Job = "/usr/libexec/bacula/client_onlinestatus %ip"
>>
>> No.
>>
>> Why do you want the client ip?
>
>
> For checking mobil clients accessibility and for some prejob stuff
> done in the script, like automatic accounting of successful backups.

If you ran the script on the client, wouldn't you already have all this 
information?

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users