Hi Keith
thanks very much for the very quick reply, let me comment on
your response.

Keith Edmunds wrote:

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

I was incorrect here, the real config looked as:
$Conf{DumpPreUserCmd}     = '/home/smoky/BackupPC-Exit.sh';
$Conf{DumpPostUserCmd}    = '/home/smoky/BackupPC-Exit.sh';
$Conf{RestorePreUserCmd}  = '/home/smoky/BackupPC-Exit.sh';
$Conf{RestorePostUserCmd} = '/home/smoky/BackupPC-Exit.sh';

>> #!/bin/sh
>> echo "type          $type        "
>> echo "xferOK        $xferOK      "
>
> Where are you expecting those echoes to appear? Try:

I was believing in the Docu which says:
"Optional commands to run before and after dumps and restores.
Stdout from these commands will be written to the Xfer
(or Restore) log file. "

> #!/bin/sh
> MYLOGFILE=/home/smoky/backuppc.log
> echo "type          $type        " >>$MYLOGFILE
> echo "xferOK        $xferOK      " >>$MYLOGFILE
>
> Keith

I changed my script as you recommend but.... no logfile
was created at all. Is there another way to check whether
the exits where taken?

Regards, Peter


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


-------------------------------------------------------------------------
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