I have Informix 10. I'm doing my DB archives to a TSM server using the onbar utility. I'm trying to get my logical logs to backup automatically. In the onconfig file I've set the ALARMPROGRAM to log_full.sh Below is the log_full script. Anybody have any ideas as to what I'm not doing? Thanks in advance for any replies.
case "$EVENT_CLASS" in
# onbar assumes no operator is present,
# so all messages are written to the activity
# log and there shouldn't be any output, but
# send everything to /dev/null just in case
$BACKUP_CMD 2>&1 >> /tmp/burtbar
# One program is shared by all event alarms. If this ever gets expanded to
# handle more than just archive events, uncomment the following:
I'm not familiar with the onbar utility but perhaps this may help you resolve your problem.
I use ontape for performing backups and I have to have a separate device used for continuous logging defined in the onconfig file, in my case that's /dev/rmt0, and I have to execute ontape -c to backup the logical logs as they fill.
ontape -c will keep the device open and write logs to that tape device with no rewind until the I stop the continuous logging process with a control-C