you could do something like this in a script

#!/bin/bash
#logfilemails
for file in `find /path/to/backups -name Xlog*`; do
     echo "-----------------------------------------------------"
     echo 'backup summary for $file'
     Backuppc_zcat $file
     echo "-----------------------------------------------------"
done

and put that script into cron like
1 6 * * 1-5 /path/to/script | mailx emailaddress

this needs some tweeks, i didnt test it but it is a basic solution to what
you need


On 10/18/07, Martin Šoltis <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> I am searching after some script or possibility to send email at some
> addresses after every backup, and in this email i need :
>
> 1. What has been backed up.
> 2. When
> 3. If backup was successfull or not
> 4. If not - why
>
> Do you know someone if there is something like this ? First of all i want
> to
> ask, because i don't want to write something that is already done :-)
>
> Thanx
>
> Martin
>
> -------------------------------------------------------------------------
> 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/
>
-------------------------------------------------------------------------
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