restore database [message #135611] |
Thu, 01 September 2005 09:21 |
alanm
Messages: 284 Registered: March 2005
|
Senior Member |
|
|
Hi All,
I use the following script to perform an RMAN backup.
su - oracle <<EOF
cd /home/oracle
. PRD.ksh
cd /home/oracle/rman_scripts
#correct path to the recovery catalog
rman target system/tommy rcvcat rman/rman@rman
run {
allocate channel c1 type 'SBT_TAPE' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
allocate channel c2 type 'SBT_TAPE' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
backup
incremental level 0
format '/tmp/PRD%s.bak'
(database include current controlfile ) ;
sql 'alter system archive log current';
}
EOF
what command would I use to perform a restore of the database?
many thanks
Alan.
|
|
|
|