1.Install Oracle 10g(10.2.0.5) on RHEL 5.6(Required For My setup, You can install as per your Requirement
2. Create user Oracle and set environmental variables
export ORACLE_SID=TEST
3.Create pfile with necessary parameters like db_name ,control_files,
Background_dump_dest
4.Start the database in nomount Stage with the pfile.
>Startup nomount
5.Start RMAN and connect to the target instance
$rman TARGET / NOCATALOG
6.Restore the controlfile from backup piece.
RMAN>Restore controlfile from ‘Path with backup piece Name’
7.Catalog all the backup pieces
RMAN>catalog backuppiece ‘Path with backup piece Name’
Take controlfile trace and check whether all physical location for datafiles available,
If not add set newname & switch datafile all commands to the below rman script by
Mentioning old path & New Path
8.Restore and Recover.
RMAN> run {
2> allocate channel c1 type disk;
3> restore database;
4> recover database;
5> release channel c1;
6> }
9. Open the database in Resetlogs option
>Alter database open resetlogs;