On Tuesday 06 December 2005 14:15, Ribi Roland wrote: > Hi, > > I have the following call to in my job definition: > > ClientRunBeforeJob = "/etc/bacula/scripts/ClientRunBeforeJob.sh '%c' '%d' > '%i' '%e' '%j' '%l' '%n' '%t' '%v'" > > The documentation explains the following character substitution for > RunBefor/RunAfter Scripts: > > %% = % > %c = Client's name > %d = Director's name > %i = JobId > %e = Job Exit Status > %j = Unique Job name > %l = Job Level > %n = Job name > %t = Job type > %v = Volume name > > On the Solaris (8,10) clients in the %d is the client-name passed to the > script not the director name. > > Is it a bug?
You are right, it edits the client's name. Whether or not it is a bug or a documentation issue is not clear. The substitution is done on the Client machine, and although, it might be possible to find the Director's name, it is not immediately available -- the same goes for the %v. I'll see if I can clarify the document a bit. -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users