Hello, I am trying to run a RMAN Duplicate command from within a command file but I get RMAN-03002:
I am attempting a backup-based duplication in a Window 2008 R2 environment. I have copied the backup to a local directory and connected to the auxiliary database successfully. When I attempt to execute the 'rman auxiliary / @RMAN_DUPLICATE_SCRIPT.txt' command within RMAN, it returns the RMAN-03002 and RMAN-06014 errors. My command file contains the following:
RUN {
DUPLICATE TARGET DATABASE TO PROVDBST
BACKUP LOCATION 'E:\DB_BACKUP'
SPFILE
PARAMETER_VALUE_CONVERT 'G:\oracle\oradata\provstdb\CONTROL01.CTL', 'E:\Oracle\oradata\ProvSTDB\CONTROL01.CTL'
SET DB_FILE_NAME_CONVERT 'G:\oracle\oradata\provstdb\CMORAPD1.DBF', 'E:\Oracle\oradata\ProvSTDB\CMORAPD1.DBF'
SET DB_FILE_NAME_CONVERT 'G:\oracle\oradata\provstdb\CMORCOM1.DBF', 'E:\Oracle\oradata\ProvSTDB\CMORCOM1.DBF'