Bacula-users

Re: [Bacula-users] Character Substitution

2010-02-02 02:59:27
Subject: Re: [Bacula-users] Character Substitution
From: ganiuszka <ganiuszka AT gmail DOT com>
To: Richard Scobie <richard AT sauce.co DOT nz>
Date: Tue, 02 Feb 2010 08:53:41 +0100
Richard Scobie pisze:
> I have a "Client Run After Job" which runs a bash script which ends up 
> writing a file on the client,  "%i_%v.txt"
> 
> It all works except the substitution is not occuring and it is literally 
> writing the file %i_%v.txt.
> 
> Is this expected?

How do you create this file?

In "Client Run After Job" directive "%v" will not be replaced because it 
can be replaced only on Director side.
So if you has:

Client Run After Job = "/path/script.sh %i %v"

than

%v will be empty.

Regards
gani

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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>