duplicate target database to <clone database name>;
This will restore which backup ? if i have multiple backups and i want to restore using a specific backup then how to proceed ?This will restore the database and apply some archive logs. It can appear to hang at the end sometimes. Just give it time - I think it is because RMAN does a 'shutdown normal'.
Data Boy wrote:So you have backup up your AMAZTST database. OK.
I Have taken a full backup of our TEST Database using below command in different path due to disk space issues.
Backup database plus archivelog format '/u01/ora_rman_bkups/%d_%u_%s';
When i go to RMAN and LIST BACKUP i dont see the above backup set. When i go to OS i see the two files created in that directory
[oracle@enash ora_rman_bkups]$ ls -l
-rw-r----- 1 oracle oinstall 1460956160 Apr 2 13:36 AMAZTST_0oo62q17_24 *(I Think this is database backup) This is a different backup piece correct ?*
-rw-r----- 1 oracle oinstall 189952 Apr 2 13:37 AMAZTST_0ro62qlf_27 *(I Think these are archive logs) -- This is different backup piece correct ?*
I Want to Clone my AMAZPRD with above AMAZTST backup ...This is impossible: it is the wrong database. That is also why your use of CATALOG fails.
please suggest me if i can use the above backup pieces for duplicating database.You can use them to clone your AMAZTST database, not your AMAZPRD database.
Thank you for looking into my post ..