archecker exit status
Posted in 2007
Topics: Backup & Restore, Platform-Specific Issues
Hello,
Going to start verifying backups with archecker ( onbar -v ).
Going to do it in an aix shell script. I know I can have the script check the last line of the ac_msg.log for the exit status, but I really would have no way of knowing whether that line in the msg.log is from this run, or some previous run, unless I have the script do some time checking.
I was just wondering, if I just have the script check the exit status of the onbar -v command, ( $? ), will that be accurate enough. In other words, if archecker fails any of it's scans, or anything that would prevent a success in the last line of the msg.log, would it also return with a non-zero value to the calling shell script.
That would be much easier for me if it works like that.
Does anyone know ?
Thanks,
Floyd
========================
email: floyd@fwellers.com
Home: 703-430-0805
Cell: 703-477-6045
========================
www.one.org
www.myspace.com/onepriority