Bacula-users

Re: [Bacula-users] Script Client Run and ">"

2011-08-24 09:23:25
Subject: Re: [Bacula-users] Script Client Run and ">"
From: Francisco Javier Funes Nieto <esencia AT gmail DOT com>
To: Yuri Timofeev <tim4dev4list AT gmail DOT com>
Date: Wed, 24 Aug 2011 15:20:20 +0200
Hi,

Why don't you use a shell script with this command?

J.

2011/8/24 Yuri Timofeev <tim4dev4list AT gmail DOT com>:
> Hi
>
> Problem in the symbol of ">".
> File /tmp/test.log is not created.
> Running only the first part of the command "ls -la".
> "> /tmp/test.log" not worked.
>
>
> Config file:
>
> Job {
>   ...
>   Client Run Before Job = "ls -la > /tmp/test.log"
> }
>
>
> Console log:
>
> fd JobId 32287: shell command: run ClientRunBeforeJob "ls -la >
> /tmp/test.log"
> fd JobId 32287: ClientRunBeforeJob: ls: >: No such file or directory
> fd JobId 32287: ClientRunBeforeJob: ls: /tmp/test.log: No such file or
> directory
> fd JobId 32287: Error: Runscript: ClientRunBeforeJob returned non-zero
> status=2. ERR=Child exited with code 2
>
>
>
> This is just a test. My working version will be "mysqldump ...> dump.sql"
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>



-- 
_____________________________________________

Francisco Javier Funes Nieto [esencia AT gmail DOT com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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>