> $Conf{DumpPreUserCmd} = '/home/smoky/BackupPC-Exit.sh';
.
.
> Then I reloaded the configuration file and restored a file using
> the cgi interface.
You want RestorePreUserCmd.
Also:
> #!/bin/sh
> echo "type $type "
> echo "xferOK $xferOK "
Where are you expecting those echoes to appear? Try:
#!/bin/sh
MYLOGFILE=/home/smoky/backuppc.log
echo "type $type " >>$MYLOGFILE
echo "xferOK $xferOK " >>$MYLOGFILE
Keith
--
Keith Edmunds
+---------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Company" | http://www.tiger-computing.co.uk |
+---------------------------------------------------------------------+
-------------------------------------------------------------------------
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/