Greetings everyone.
Our library just recently purchased a new Sun workstation. I'm
currently working on the backup cron job. The vendor that sold
us the Sun will only support backups using ufsdump. I wrote the
cron jobs and set the crontab file and everything is running
fine.
What I want is to create a series of log files to report the
backup results. I know that ufsdump has three exit status
values: 0 (normal), 1 (error), and 3 (abort). What I want to
know is if it's possible to 1) echo the screen output to another
file for review (in case of errors or aborts) and 2) if a notice
can be sent to one of three files based on the exit status (i.e.
bu.log, bu.err, bu.abort)? If both of these are possible, what
do I need to do to make it so.
Thanks in advance.
Eric Speas
Automation Librarian
J.D. Boyd Library
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!