24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11.3.1 Report utility<br />

The report utility provides analysis of your backup and recovery situ<strong>at</strong>ion.<br />

Below are examples of the report utility.<br />

11.3.1.1 Report target d<strong>at</strong>abase schema<br />

You can report the structure of the d<strong>at</strong>abase using the REPORT SCHEMA<br />

command.<br />

This example shows an overview of the target d<strong>at</strong>abase structure using<br />

the REPORT SCHEMA command:<br />

RMAN> report schema;<br />

RMAN-03022: compiling command: report<br />

Report of d<strong>at</strong>abase schema<br />

File K-bytes Tablespace RB segs Name<br />

---- ---------- ------------------ ------- -------------------<br />

1 280576 SYSTEM YES C:\ORACLE\ORADATA\BEACH\SYSTEM01.DBF<br />

2 51200 RBS YES C:\ORACLE\ORADATA\BEACH\RBS01.DBF<br />

3 20480 USERS NO C:\ORACLE\ORADATA\BEACH\USERS01.DBF<br />

4 20480 TEMP NO C:\ORACLE\ORADATA\BEACH\TEMP01.DBF<br />

5 10240 TOOLS NO C:\ORACLE\ORADATA\BEACH\TOOLS01.DBF<br />

6 20480 INDX NO C:\ORACLE\ORADATA\BEACH\INDX01.DBF<br />

7 20480 DRSYS NO C:\ORACLE\ORADATA\BEACH\DR01.DBF<br />

8 30728 OEM_REPOSITORY NO C:\ORACLE\ORADATA\BEACH\OEM_REPOSITORY.ORA<br />

You can also use the REPORT SCHEMA to show the structure of the d<strong>at</strong>abase<br />

<strong>at</strong> a prior time. For example, if you want to know the structure of the<br />

d<strong>at</strong>abase 2 weeks ago, you can issue the following:<br />

RMAN> report schema <strong>at</strong> time 'sysd<strong>at</strong>e-14';<br />

RMAN-03022: compiling command: report<br />

Report of d<strong>at</strong>abase schema<br />

File K-bytes Tablespace RB segs Name<br />

---- ---------- ------------------ ------- -------------------<br />

1 280576 SYSTEM YES C:\ORACLE\ORADATA\BEACH\SYSTEM01.DBF<br />

2 51200 RBS YES C:\ORACLE\ORADATA\BEACH\RBS01.DBF<br />

3 20480 USERS NO C:\ORACLE\ORADATA\BEACH\USERS01.DBF<br />

4 20480 TEMP NO C:\ORACLE\ORADATA\BEACH\TEMP01.DBF<br />

5 10240 TOOLS NO C:\ORACLE\ORADATA\BEACH\TOOLS01.DBF<br />

6 20480 INDX NO C:\ORACLE\ORADATA\BEACH\INDX01.DBF<br />

7 20480 DRSYS NO C:\ORACLE\ORADATA\BEACH\DR01.DBF<br />

8 30728 OEM_REPOSITORY NO C:\ORACLE\ORADATA\BEACH\OEM_REPOSITORY.ORA<br />

11.3.1.2 Report on d<strong>at</strong>a files needing backup<br />

You can report on d<strong>at</strong>a files th<strong>at</strong> require backup based on three options:<br />

178 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!