Database Backup and Recovery (MOSC)

MOSC Banner

rman duplicate from active database

edited May 31, 2013 9:58AM in Database Backup and Recovery (MOSC) 10 commentsAnswered
can somone critique the following rman parameters, i'm getting an error "CONNECT: command not found" ...

rman
CONNECT TARGET sys/new_z00@LCCC
CONNECT AUXILIARY sys/new_z00@TEST <<EOF  
run
{

SET NEWNAME FOR DATAFILE '/u02/oradata/LCCC/system_LCCC_01.dbf' to
                         '/u06/oradata/TEST/system_TEST_01.dbf';   
SET NEWNAME FOR DATAFILE '/u02/oradata/LCCC/sysaux_LCCC_01.dbf' to
                         '/u06/oradata/TEST/sysaux_TEST_01.dbf';
SET NEWNAME FOR DATAFILE '/u02/oradata/LCCC/undotbs_LCCC_01.dbf' to
                         '/u06/oradata/TEST/undotbs_TEST_01.dbf';
SET NEWNAME FOR DATAFILE '/u02/oradata/LCCC/users_LCCC_01.dbf' to
                         '/u06/oradata/TEST/users_TEST_01.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