Database Backup and Recovery (MOSC)

MOSC Banner

Backup based duplication without a target connection

edited Feb 28, 2012 8:56AM in Database Backup and Recovery (MOSC) 3 commentsAnswered
Hi

I am trying to duplicate a database( v11.2.0.2) using RMAN duplicate command without a target connection and I am getting "RMAN-01009: syntax error: found "dbid": expecting one of" error. The script that I am using is shown below. Did anyone have a similar issue while duplicating oracle 11gR2 database using RMAN duplicate command?

connect catalog rman/rman@rman.clone
connect auxiliary /
run {
set newname for  tempfile  1 to '/tcs1325s/dbf/temp01.dbf';
set newname for datafile 1 to '/tcs1325s/dbf/system01.dbf';
set newname for datafile 10 to '/tcs1325s/dbf/ncsdata01.dbf';
set newname for datafile 11 to '/tcs1325s/dbf/ncsindex01.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