Bacula-users

Re: [Bacula-users] How to properly escape Linux shell commands for ClientRunBeforeJob?

2009-02-16 06:19:41
Subject: Re: [Bacula-users] How to properly escape Linux shell commands for ClientRunBeforeJob?
From: Foo <bfoo33 AT yahoo.co DOT uk>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 16 Feb 2009 12:17:17 +0100
On Mon, 16 Feb 2009 10:10:27 +0100, Ralf Brinkmann  
<ralf.brinkmann AT wemhoener DOT de> wrote:

> (Client)RunBefore/AfterJob:
> sticking commands one after another on one line separated by semicolon
> seems not to work propperly.

Looks that way, but sticking them on separate lines doesn't work either,  
since redirection is not properly escaped either. Until someone comes up  
with an answer I have put the commands in a shell script on the local  
server, which does work.



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users