>>>>> On Sun, 18 Dec 2005 20:55:44 +0100, Mario Ohnewald <[EMAIL PROTECTED]> >>>>> said:
Mario> i have this simple RunAfterJob script: Mario> RunAfterJob = "/bin/sh -c 'echo %v > /tmp/vout'" Mario> and i get the error: Mario> RunAfter: /bin/sh: TestVolume0017: command not found Mario> RunAfter: /bin/sh: TestVolume0018: command not found Mario> IF i run a incremental backup and i only need one BackupVolume, then it Mario> works and pipes %v into my /tmp/vout file. Mario> I am wondering what bacula does when it has multiple BackupVolume files Mario> and why/where it tries to run TestVolume00XY. Mario> I hope i explained it well. If not then let me know! I think it separates them with a '|' character, so the problem is that you don't have quotes around %v and the shell runs the volume name as a pipe :-) Something like RunAfterJob = "/bin/sh -c 'echo \"%v\" > /tmp/vout'" might work. __Martin ------------------------------------------------------- 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