Jens,

Fortunately I've just done this : its not too hard.

If you are using one ebu catalog for the whole complex (as recommended by
oracle) then there is nothoing to do on the oracle side.  If you need do
need to point to a different ebu catalog then

ebutool -stopbrd

edit $ORACLE_HOME/obackup/admin/catalog.ebu and point it to the desired
catalog.


Next copy your encrypted password file ADSMO.client_name from the source
system to some local place, also the opt file

set up your environment variables something like this. My local place is
~steveh and the client name is cerner_prod_ora
( This is probably overkill as I use the same script to set up for other
API function using adsmpipe)
export DSM_DIR=/usr/lpp/adsm/bin
export DSM_LOG=~steveh/dsmerror.log

export DSMI_DIR=/usr/lpp/adsm/api/bin
export DSMI_CONF=/usr/lpp/adsm/bin/dsm.sys
export DSMI_LOG=~steveh/dsierror.log

#export DSMI_ORC_DIR=/usr/lpp/adsmagent/aob  ;# default
export DSMI_ORC_CONFIG=~steveh/cerner_prod_ora_dsm.opt
export DSMO_AVG_SIZE=75 ;# average size of objects in MB default is 50
export DSMO_FS=/cerner_prod_ebu ;# filespace to use
export DSMO_NODE=cerner_prod_ora
export DSMO_PSWDPATH=~steveh

export OBK_HOME=$ORACLE_HOME/obackup

export EBU_HOME=$OBK_HOME
for d in "$ORACLE_HOME/bin" "$EBU_HOME/bin"
do
  if echo $PATH | grep -q $d
  then :
  else export PATH=$PATH:$d
  fi
done

export OBK_DB_LOGIN="ebuuser/ebupass@ebuinstance"
export EBU_CAT_LOGIN=$OBK_DB_LOGIN


Then run your ebu restore script using the host keyword of the restore
command.

Don't forget to change back $ORACLE_HOME/obackup/admin/catalog.ebu  at the
end of the restore if you need to.

HTH

Steve Harris
AIX/ADSM/Oracle/HACMP guy
The Wesley Hospital, Brisbane Australia






Andersen Jens Skjellerup <[EMAIL PROTECTED]>@VM.MARIST.EDU> on 02/10/2000
21:49:31

Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>

Sent by:  "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Fax to:
Subject:  Help! Cross-Client restore via ebu fails


I have a problem
I need to restore a oracle database via ebu/connect agent for oracle on
another oracle server.
he backup and restore is ok , my problem is to restore the database from
client A
to client B using ebu script,  watt do I need  to set up on  client b: ?

oracle   =  7.3.4
ebu      =  2.2


_______________________
Jens Skjellerup Andersen

WM-data Infra Solutions A/S
Lautrupvang 10
DK-2750 Ballerup

Phone   (+45) 44 78 40 00
Direct          (+45) 44 78 41 89
Mobil   (+45) 21 71 72 84
Fax             (+45) 44 78 49 12
Internet        [EMAIL PROTECTED]
_______________________


===========================================
This email message has been swept by
MIMESweeper at The Wesley Hospital - Australia

Although this email has been scanned for Viruses please
ensure that due care is taken and correct virus management
procedures are maintained.
===========================================

Reply via email to