Backing Up Oracle - Computing at Cornell
Backing Up Oracle - Computing at Cornell
Backing Up Oracle - Computing at Cornell
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
.<br />
RMAN successfully restored the d<strong>at</strong>abase and applied the redo logs,<br />
bringing the d<strong>at</strong>afile up to the point where the d<strong>at</strong>abase was shut down.<br />
We started the d<strong>at</strong>abase and was able to see the OOPS table th<strong>at</strong> was<br />
cre<strong>at</strong>ed after the d<strong>at</strong>abase backup was taken:<br />
SQL> select table_name, tablespace_name from user_tables;<br />
TABLE_NAME TABLESPACE_NAME<br />
------------------------------ ------------------------------<br />
MYTABLE SYSTEM<br />
OOPS USERS<br />
12.3.2 Complete recovery<br />
For this complete recovery example, we did the following:<br />
Made sure we had a prior full RMAN d<strong>at</strong>abase backup<br />
Archived the redo logs<br />
Cre<strong>at</strong>ed a new table recoverme<br />
Inserted some rows into this table<br />
Shut down the d<strong>at</strong>abase beach<br />
Deleted the d<strong>at</strong>afiles<br />
C:\oracle\orad<strong>at</strong>a\beach>dir<br />
Volume in drive C has no label.<br />
Volume Serial Number is 3AAC-EBBF<br />
Directory of C:\oracle\orad<strong>at</strong>a\beach<br />
04/03/2001 12:06p .<br />
04/03/2001 12:06p ..<br />
04/03/2001 11:11a archive<br />
04/03/2001 03:02p 3,006,464 CONTROL01.CTL<br />
04/03/2001 03:02p 3,006,464 CONTROL02.CTL<br />
04/03/2001 03:02p 3,006,464 CONTROL03.CTL<br />
04/03/2001 03:02p 20,979,712 DR01.DBF<br />
04/03/2001 03:02p 20,979,712 INDX01.DBF<br />
04/03/2001 02:51p 31,473,664 OEM_REPOSITORY.ORA<br />
04/03/2001 03:02p 52,436,992 RBS01.DBF<br />
04/03/2001 03:02p 1,049,088 REDO01.LOG<br />
04/03/2001 03:02p 1,049,088 REDO02.LOG<br />
04/03/2001 03:01p 1,049,088 REDO03.LOG<br />
04/03/2001 03:02p 297,803,776 SYSTEM01.DBF<br />
04/03/2001 03:02p 20,979,712 TEMP01.DBF<br />
04/03/2001 03:02p 10,493,952 TOOLS01.DBF<br />
04/03/2001 03:02p 20,979,712 USERS01.DBF<br />
14 File(s) 488,293,888 bytes<br />
3 Dir(s) 520,306,688 bytes free<br />
C:\oracle\orad<strong>at</strong>a\beach>del *.dbf<br />
192 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management