You must define options to control the way Data Protection for Oracle backs up and restores data.
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/home/rman/scripts/tdpo.opt)'
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=C:\RMAN\scripts\tdpo.opt)'
For
further information about RMAN scripts, see Editing RMAN scripts for
further information. Note, the allocate channel entry
is divided on two lines after the parms option to
accommodate page formatting.The TDPO_OPTFILE variable must be specified in uppercase characters only.
If the TDPO_OPTFILE variable is not provided, Data Protection for Oracle uses the tdpo.opt file in the Data Protection for Oracle default installation directory. If this file does not exist, Data Protection for Oracle fails.
Though it is possible to change values in the options file, you cannot change the dsmi options until you restart Data Protection for Oracle. Data Protection for Oracle loads these values from the default tdpo.opt file into the default installation directory when the Oracle service is started.