Hi folks,

On a CentOS 5.2 server running Bacula 2.4.3, I modified the "File" parameter
in "FileSet" definition to the following:

File = "\\|bash -c \"df -kFext3 -Fgfs|egrep -v \"Filesystem|mapper\" |cut -b
56- \""

Checking the syntax from command line proves it is correct.

--------------- start of sample output ------------------------------
# bash -c "df -kFext3 -Fgfs|egrep -v \"Filesystem|mapper\" |cut -b 56- "
 /
 /boot
 /export
---------------------- end ----------------------------------------

but when I try to run the backups from bconsole, I get the following error
message.

----------------- start of error message -------------------------------
18-Nov 08:10 testserver-fd JobId 160: Fatal error: Error running program:
bash -c "df -kFext3 -Fgfs|egrep -v "Filesystem|mapper" |cut -b 56- ".
stat=2: ERR=Child exited with code 2
*
------------------------ end ------------------------------------------

Any ideas why the program is terminating with the above error?

TIA

Win
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to