Complete Recovery when System tablespace is missing


Problem Generation Delete system tablespace datafile from operating system when database is up and runing.

 [oracle@anar]$rm -i /u01/app/oracle/oradata/disk1/system01.dbf

Solution

 [oracle@anar] sqlplus "/ as sysdba"

SQL> shut immediate;

SQL> startup mount;

 connect to Rman

 [oracle@anar]$ rman

Recovery Manager: Release 11.2.0.3.0 - Production on Mon Jan 13 13:48:12 2014 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

RMAN> connect target /; connected to target database: ANARDB (DBID=2880407158)

RMAN>run { restore datafile 1; recovery datafile 1; sql'alter database open'; }
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: