Professional Documents
Culture Documents
Manual Cloning Rman
Manual Cloning Rman
5 Configure listener
Admin]$vi listener.ora
LISREDMICLN = (DESCRIPTION =
(ADDRESS = (HOST = 192.168.1.30) (PORT = 1521) (PROTOCOL =
TCP)))
SID_LIST_LISREDMICLN =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = redmicln)
)
)
6 Configure tnsnames.ora
Admin]$ vi tnsnames.ora
tredmicln =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.30)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = redmicln)
)
)
8 ]$ sqlplus / as sysdba
Startup nomount
9 SQL> alter system switch logfile; ( three or four times)
rman target /
RMAN> configure channel device type disk format
'/u01/app/rman/%d_%s';
RMAN> backup database current controlfile plus archivelog;
10 Copy all backup pieces to target Backup location should be same as in source