0% found this document useful (0 votes)
43 views2 pages

RAC DB Restore

The document provides steps to restore a database from backup including listing backups, mounting the database, restoring control files and redo logs, and opening the database with a resetlogs option.

Uploaded by

srinu katams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

RAC DB Restore

The document provides steps to restore a database from backup including listing backups, mounting the database, restoring control files and redo logs, and opening the database with a resetlogs option.

Uploaded by

srinu katams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

select db_id from v$database;

RMAN>list backup summary;

list backup tag ''


####restore pfile from spfile:
show parameter spfile;
create pfile='' from spfile;

select name from v$database;


select name from v$datafile;
select name from v$logfile;
create pfile='' from spfile ;
select name from v$controlfile;

check the archivelog location:


archivelog log list;
shut down the database;
srvctl stop -d database prd

goto one node start the db from sql


sql> startup mount exlusive restict

delete the data files,red log, control file. don't delete the archivelog after
latest backup.

========================
cluster_database=false;
SQL> startup nomount pfile='/home/oracle/initbr8dba.ora';

create spfile from pfile='/home/oracle/initbr8dba.ora';


shut immediate;

startup nomount;
show parameter pfile ---> must be show spfile.

show parameter pfile

Restore controlfile from backp piece

rman target /

restore controlfile from 'backup piece;

RMAN>sql 'alter database mount';

select name, open_mode from v$database;

SQL>alter database open;

SQL> alter database open RESETLOGS;

Database altered.

SQL> select member from v$logfile;

select name, open_mode, dbid from v$database;


database_cluster=true scope=SPFILE;
=================
shut down db
start the db with srvctl.

You might also like