Clone Database on the same machine (locally).
1) First make sure your database is in archivelog mode. 2) Make a fresh backup of your database using Rman. 3) The SID of the database which I have is “orcl”. The cloned database name will be “dup”. 4) Add the following lines to listener.ora file.