Duplicate an Oracle database.
Before You Begin
-
If you run the RMAN script on a UNIX environment, relink the SBT library or use PARMS in the Allocate Channel Command.
-
To redirect data files, specify the DB_FILE_NAME_CONVERT init parameter in the PFILE.
-
Optional: To have the CommCell Console authenticate the job, configure the parameters for CommCell Console third-party job authentication.
Procedure
-
On the RMAN command line, run the following sample script, substituting any required or optional Oracle SBT parameters.
For information on required and optional SBT parameters, see SBT Parameters.
run { allocate auxiliary channel ch1 type 'sbt_tape'; allocate auxiliary channel ch2 type 'sbt_tape'; DUPLICATE TARGET DATABASE TO dupdb; PFILE = /dup/oracle/dbs/initDUPDB.ora NOFILENAMECHECK; }