Hi everyone, In the company I work for we use an application that runs on Solaris 10. Every night we do a full backup of the system through the application interface. As far as I can tell, and I am not a Unix person, the Oracle DB services are stopped and a full backup of the system using CPIO function is performed. Currently, if the backup fails, the only way I can find out is when I come in the next morning and have an email from the system with a message similar to this:
Starting backup - Tue Aug 4 23:58:01 EDT 2009 Backup type is full Export of db01 failed on Tue Aug 4 23:58:07 EDT 2009 Find Function for File Backup Succeeded on Wed Aug 5 00:00:23 EDT 2009 CPIO function for File Backup Failed - Wed Aug 5 00:00:23 EDT 2009 Ending backup - Wed Aug 5 00:00:48 EDT 2009 Overnight processor succeeded. What I would like to have is some sort of script that will send an email message with "Backup Failed" to #######[email protected] whenever there is a CPIO function failure or any type of Backup failure. Is this possible? Thanks in advance for your help. Regards, Josue _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
