Example of datafile restore and recovery – HP A.06.11 User Manual

Page 126

Advertising
background image

2.

Start the tablespace restore.

If you use the recovery catalog database, run:

• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD

catalog rman/rman@CATAL

cmdfile=Data_Protector_home\tmp\restore_TAB

• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD

catalog rman/rman@CATAL

cmdfile=/var/opt/omni/tmp/restore_TAB

If you do not use the recovery catalog, run:

• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD

nocatalog cmdfile=Data_Protector_home\tmp\restore_TAB

• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD

nocatalog cmdfile=/var/opt/omni/tmp/restore_TAB

Example of datafile restore and recovery

To restore and recover a datafile, you may take only a part of the database offline.

To restore and recover a datafile:

1.

Log in to the Oracle RMAN.

If you use the recovery catalog database, run:

• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD

catalog rman/rman@CATAL

• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD

catalog rman/rman@CATAL

• On OpenVMS: rman target sys/manager@PROD sys/manager@PROD

catalog rman/rman@CAT

If you do not use the recovery catalog database, run:

• On Windows: ORACLE_HOME\bin\rman target sys/manager@PROD

nocatalog

• On UNIX: ORACLE_HOME/bin/rman target sys/manager@PROD

nocatalog

• On OpenVMS: rman target sys/manager@PROD nocatalog

Integrating Oracle and Data Protector

126

Advertising