Re: onbar environment
Posted in 1998
Topics: Backup & Restore, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues
In article <6p5fhc$sc6$1@news.xmission.com>,
"Brais, Paul" <BRAISPA@mail.northgrum.com> wrote:
>
> I am on 7.23.UC4 on HP-UX 10.20. I am using omniback as the storage
> manager. The media is on an HP dlt library with 2 drives. I am backing
> up the instance using "whole" . The backups seem to be successful but I
> cannot do any backups using the command line, and I also cannot do any
> restores. When I issue 'onbar' it just returns the $ prompt. What
> environment variables have to be defined in order to issue onbar
> commands from the command line.
>
>
Hi Paul,
You need to export OB2BARLIST and OB2APPNAME.
Mohamed.
export INFORMIXDIR=/opt/informix/informix723 export
INFORMIXSQLHOSTS=/opt/informix/informix723/etc/sqlhosts export
PATH=$PATH:$INFORMIXDIR/bin:/opt/omni/bin:/bin:/sbin/:/bin/posix:/usr/bin:/usr/sbin/:/usr/omni/bin:$INFORMIXDIR/etc:. export ONCONFIG=onconfig.029
export INFORMIXSERVER=ifx029 export OB2BARLIST=ifx029 exportOB2APPNAME=$INFORMIXSERVER
#
# Start Full Backup
#
onbar -b -w -L 0
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum