Am 05.02.2011 um 20:54 schrieb Dan Langille: > 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?
Sure, but with heterogeneous clients, this would complicate things and a central place has some advantages. The script also helps canceling the job if the client is not online (laptops). Well, this is done by the internal timeout ... anyway. Maybe its not quite the best approach, i need to rethink this. PM ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users