(Administration Workshop II 2-27)
First set the ORACLE_SID env
$ export ORACLE_SID=orcl
Writing RMAN output to a log file
$ rman TARGET sys/oracle LOG=$HOME/oradata/u03/rman.log APPEND
Executing a command file when RMAN is invoked
$ rman TARGET sys/oracle CMDFILE=$HOME/scripts/my_rman_script.rcv
Establishes database connections on RMAN startup (both TARGET and CATALOG DBs)
$ rman TARGET sys/oracle@orcl CATALOG rman/rman@rcat
Note: NOCATALOG is the default mode (rman will use the control file as rman repository) unless a CATALOG database is specified.
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment