Database Backup and Recovery (MOSC)

MOSC Banner

Hello, I am trying to run a RMAN Duplicate command from within a command file but I get RMAN-03002:

edited May 6, 2015 11:21AM in Database Backup and Recovery (MOSC) 2 commentsAnswered

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'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center