New 2
New 2
New 2
csisora@192.168.111.130's password:
Last login: Fri Jul 16 13:35:35 2021 from 192.168.111.1
[csisora@locallost ~]$ cd /u01/backup/
[csisora@locallost backup]$ ll
total 23968
-rw-r----- 1 csisora csisora 14372864 Jul 16 13:33 0804203d_1_1
-rw-r----- 1 csisora csisora 10125312 Jul 16 13:38 STDCTRL_0e04208j_1_1
[csisora@locallost backup]$ rm -rf *
[csisora@locallost backup]$ scp oracle@192.168.111.128:/u01/backup/Archive_20210
716_0f043ur2_1_1 /u01/backup/
oracle@192.168.111.128's password:
Connection closed by 192.168.111.128
[csisora@locallost backup]$ cd /u01/app/csisora/product/11.2.0/dbhome_1/dbs/
[csisora@locallost dbs]$ pwd
/u01/app/csisora/product/11.2.0/dbhome_1/dbs
[csisora@locallost dbs]$ ll
total 40
-rw-rw---- 1 csisora csisora 1544 Jul 16 13:58 hc_orcldr.dat
-rw-r--r-- 1 csisora csisora 2851 May 15 2009 init.ora
-rw-r--r-- 1 csisora csisora 1202 Jul 16 11:13 initorcldr.ora
-rw-rw---- 1 csisora csisora 24 Jul 16 13:39 lkORCLDR
-rw-r----- 1 csisora csisora 1536 Jul 15 21:06 orapworcl
[csisora@locallost dbs]$ sqlplus / as sysdba
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> run{
DUPLICATE DATABASE TO ORCLDR
BACKUP LOCATION '/u01/backup'
NOFILENAMECHECK;
}2> 3> 4> 5>
Starting Duplicate Db at 16-JUL-21
sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN
duplicate'' scope=spfile
database mounted
released channel: ORA_AUX_DISK_1
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=19 device type=DISK
sql statement: alter system set db_name = ''ORCLDR'' comment= ''Reset to original
value by RMAN'' scope=spfile
database opened
Finished Duplicate Db at 16-JUL-21
RMAN>