Hi all,

it must be simple but I cannot get the Pre/Post command working.

I changed config.pl like:

$Conf{DumpPreUserCmd}  = '/home/smoky/BackupPC-Exit.sh';

and in /home/smoky/BackupPC-Exit.sh I entered a list of echo and
logger commands to just find out whether it get called or not.
It ist like this:

#!/bin/sh
echo "type          $type        "
echo "xferOK        $xferOK      "
etc...

Then I reloaded the configuration file and restored a file using
the cgi interface. I do got the restore log message but I did not
get anything about my usercmd exit, neither in the backuppc logs
nor in the syslog.

What am I doing wrong?

Regards, Peter

_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to