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.

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.DB<br />

F<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 />

10.2 Back up the d<strong>at</strong>abase using TDP for <strong>Oracle</strong> and RMAN<br />

Performing a backup with RMAN cre<strong>at</strong>es a backup set for th<strong>at</strong> oper<strong>at</strong>ion. A<br />

backup set contains backups of one or more d<strong>at</strong>a files or archive logs. A d<strong>at</strong>a<br />

file backup sets can also include a control file backup. Archive log backup<br />

sets can only include archive logs. D<strong>at</strong>a file backup sets can be incremental<br />

or full and do not include empty blocks. A backup set is a logical entity<br />

composed of one or more physical output files called backup pieces. Each<br />

backup piece contains control and checksum inform<strong>at</strong>ion th<strong>at</strong> allows the<br />

<strong>Oracle</strong> server process to valid<strong>at</strong>e the backup piece during a restore. A<br />

backup set is cre<strong>at</strong>ed by the backup command. A restore command is<br />

required to extract files from a backup set.<br />

10.2.1 Full backup<br />

A full backup is a non-incremental backup of one or more d<strong>at</strong>a files. A full<br />

backup has no effect on incremental backups and is not considered to be part<br />

of the incremental str<strong>at</strong>egy.<br />

If the d<strong>at</strong>abase is in ARCHIVELOG mode, you can choose to do full backup<br />

while the d<strong>at</strong>abase is online or offline. If the d<strong>at</strong>abase is in NOARCHIVELOG<br />

mode, the d<strong>at</strong>abase must be closed by a clean shutdown. Full backups can<br />

be taken of:<br />

D<strong>at</strong>a files<br />

Tablespaces<br />

D<strong>at</strong>abases<br />

Control files<br />

Archive logs<br />

Chapter 10. <strong>Oracle</strong> backup consider<strong>at</strong>ions on Windows 2000 159

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

Saved successfully!

Ooh no, something went wrong!