Perform a full
offline backup. |
|
Mount the database |
SQLDBA> startup
mount |
Put the datafile
offline |
SQLDBA> alter
database datafile '<filename>' offline; |
Open the database |
SQLDBA> alter
database open; |
Put the tablespace
offline |
SQLDBA> alter
tablespace '<tablespace name>' offline; |
Examine tablespace
status |
SQLDBA> select
tablespace_name, status from dba_tablespaces; |
If offline,
drop tablespace |
SQLDBA> drop
tablespace '<tablespace name>'; |
Recreate tablespace. |
|
Shutdown the
database |
SQLDBA> shutdown; |
Perform a full
offline backup. |
|
Perform
a full offline backup |
|
Mount the database |
SQLDBA> startup
mount |
Put the datafile
offline |
SQLDBA> alter
database datafile '<filename>' offline; |
Open the database |
SQLDBA> alter
database open; |
Restore the
datafile from the most recent backup |
|
Rename the
datafile |
SQLDBA> alter
database rename file '<old filename>' to '<new filename>' |
All data files
that are to be recovered must be online during a complete media recovery |
|
Examine damaged
datafile |
SQLDBA> select
substr(name, 1, 50) name, status from v$datafile; |
Put datafile
online if offline |
SQLDBA> alter
database datafile '<filename>' online; |
Recover the
datafile |
SQLDBA> recover
datafile '<filename>'; |
Apply redo,
you are interactively prompted to accept/specify redolog files |
|
Bring the datafile
online |
SQLDBA> alter
database datafile '<filename>' online; |
Shutdown the
database |
SQLDBA> shutdown; |
Perform a full
offline backup |
|
Perform
a full offline backup |
|
Mount the database |
SQLDBA> startup
mount |
Put the datafile
offline |
SQLDBA> alter
database datafile '<filename>' offline; |
Open the database |
SQLDBA> alter
database open; |
Restore the
datafile from the most recent backup |
|
Rename the
datafile |
SQLDBA> alter
database rename file '<old filename>' to '<new filename>' |
All data files
that are to be recovered must be online during a complete media recovery |
|
Examine damaged
datafile |
SQLDBA> select
substr(name, 1, 50) name, status from v$datafile; |
Put datafile
online if offline |
SQLDBA> alter
database datafile '<filename>' online; |
Recover the
datafile |
SQLDBA> recover
datafile '<filename>'; |
Apply redo,
you are interactively prompted to accept/specify redolog files |
|
Bring the datafile
online |
SQLDBA> alter
database datafile '<filename>' online; |
Shutdown the
database |
SQLDBA> shutdown; |
Perform a full
offline backup |
|
Perform a full
offline backup |
|
Edit the init.ora
file commenting out the damaged rollback segment. |
|
Mount the database |
SQLDBA> startup
mount |
Take the damaged
datafile offline |
SQLDBA> alter
database datafile '<filename>' offline; |
Open the database |
SQLDBA> alter
database open; |
Restore the
datafile from the most recent backup. |
|
Recover the
datafile |
SQLDBA> recover
datafile '<filename>' ; |
Apply redo,
you are interactively prompted to accept/specify redolog files. |
|
Bring the datafile
online |
SQLDBA> alter
database datafile '<filename>' online; |
Edit the init.ora
file uncommenting the commented rollback segment |
|
Shutdown the
database |
SQLDBA> shutdown; |
Perform a full
offline backup |
|
Perform
a full offline backup |
|
Restore all
data files from their most recent backup (online or offline) |
|
Mount the database |
SQLDBA> startup
mount |
Perform Incomplete
Recovery |
SQLDBA> recover
database until cancel; |
Apply redo,
you are interactively prompted to accept/specify redolog files |
|
Cancel recovery |
Enter CANCEL
when prompted to apply the lost log file. |
Open the database
resetting logs |
SQLDBA> alter
database open resetlogs; |
Shutdown the
database |
SQLDBA> shutdown; |
Perform a full
offline backup |
|