RMAN ACtive duplicate issue

  • From: Sumit Kumar T <dba.tyagisumit@xxxxxxxxx>
  • To: Oracle L <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 3 Oct 2016 21:53:11 +0530

Hi Oracle-L team can someone help on below error !! I am not able to find
the error !!!

[oracle@node2 dbs]$ rman target sys/****@ORCL auxiliary sys/****@UAT

Recovery Manager: Release 11.2.0.4.0 - Production on Mon Oct 3 12:21:00 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights
reserved.

connected to target database: ORCL (DBID=1451945373)
connected to auxiliary database: UAT (not mounted)

RMAN> run
{
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database to UAT from active database
spfile
parameter_value_convert 'orcl', 'uat' , 'ORCL' , 'UAT'
set control_files='+DATA', '+DG2'
set db_file_name_convert='+DATA', '+DG2'
set log_file_name_convert='+DATA', '+DG3'
logfile
group 1 ('+DG3') size 50M ,
group 2 ('+DG3') size 50M ,
group 3 ('+DG3') size 50M ;
}2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "backup,
db_file_name_convert, device, dorecover, force, from, high, logfile,
nofilenamecheck, noredo, noresume, open, password, pfile, reuse, skip
readonly, skip, spfile, tablespace, to restore point, undo, until restore
point, until, comma, ;"
RMAN-01008: the bad identifier was:
RMAN-01007: at line 17 column 27 file: standard input


*--*
*BR*

Other related posts: