Re: [Bacula-users] Running complex commands or scripts remotely on a client
2012-09-05 07:35:20
Le 05/09/2012 12:43, Alex Lucas a écrit :
> Dears,
>
> Is there a way to run a complex command or even a script on a client?
>
> So far I have tried two ways and failed:
> 1) when a command (e.g. in "ClientRunBeforeJob") has something like
> "echo test > /tmp/test.out" bacula runs it on the client as "echo" as
> command and the rest as the argument. i.e. there is no /tmp/test.out on
> the client
> 2) when I run "test.sh" which is in the PATH on the bacula director it
> fails, I guess because there is no identical script on the client.
>
> Any suggestions?
>
>
> Thank you,
> Alex
>
Hello,
"Client Run Before Job" will run a command on the client ! Run Before
Job will run on the director.
HTH.
Jérôme Blion.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>
|
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, (continued)
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, ganiuszka
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Alex Lucas
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Christian Manal
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Gary R. Schmidt
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Fahrer, Julian
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Simone Caronni
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Alex Lucas
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Gary R. Schmidt
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Simone Caronni
- Re: [Bacula-users] Running complex commands or scripts remotely on a client, Uwe Schuerkamp
Re: [Bacula-users] Running complex commands or scripts remotely on a client,
Jérôme Blion <=
Re: [Bacula-users] Running complex commands or scripts remotely on a client, dweimer
|
|
|