Hi
Yeah it is ruuning on unix (hp ux 11.00 with legato 6.1 )
I have written the following but i need more detail as i will run from cron every morning then if error's are found email me.
script i have created :
#!/usr/bin/sh
clear
LOGDIR=/nsr/logs/messages
if [ "$LOGNAME" != "root" ]; then
echo "Error: You must be user root to run this script!" >&2
exit 1
fi
sleep 2
print Welcome $LOGNAME
print "SEARCH IN PROGRESS............."
sleep 2
clear
grep -i SETS /nsr/logs/messages
if [ `grep -i "Unsuccessful Save Sets" /nsr/logs/messages200302 | wc -l` -gt 0 ];
then
echo " There was a problem with the backup "
We use mminfo to get backup status codes. The logs are ok, but if a client doesn't run, or a group doesn't start, you probably won't know anything about it.
If you still want to use the logs, check for file changes during backup. Most are normal, but if someone creates a new db ona server, and backups are not setup for it, a recovery may not be easy (or possible)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.