Duplicating Oracle 11g Database using Active database option
We have run below command in Rman Oracle database 11g it s showing error how to fix this issues?
RMAN> run{
2> allocate channel prmy1 type disk;
3> allocate channel prmy2 type disk;
4> allocate auxiliary channel stby type disk;
5> DUPLICATE TARGET DATABASE
6> FOR STANDBY
7> FROM ACTIVE DATABASE
8> DORECOVER
9> SPFILE
10> set db_unique_name='express2'
11> set control_files='E:\app\Administrator\oradata\express2\CONTROL02.ctl'
12> set log_archive_max_processes='5'
13> set fal_client='express2'
14> set fal_server='express1'
15> set log_archive_dest_2='service=express1 ASYNC valid_for=(ONLINE_LOGFILE
,PRIMARY_ROLE) db_unique_name=express1'
16> NOFILENAMECHECK;
17> }
using target database control file instead of recovery catalog