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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RMAN> report need backup redundancy 3;<br />

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

Report of files with less than 3 redundant backups<br />

File #bkps Name<br />

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

1 2 C:\ORACLE\ORADATA\BEACH\SYSTEM01.DBF<br />

5 2 C:\ORACLE\ORADATA\BEACH\TOOLS01.DBF<br />

7 2 C:\ORACLE\ORADATA\BEACH\DR01.DBF<br />

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

11.3.1.3 Report on obsolete backups<br />

You can report on obsolete backups in order to determine which backups can<br />

be deleted.<br />

This example shows th<strong>at</strong> any backup having more than four copies is<br />

considered obsolete.<br />

RMAN> report obsolete redundancy 4 device type 'sbt_tape';<br />

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

Report of obsolete backups and copies<br />

Type Key Completion Time Filename/Handle<br />

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

Backup Set 3269 02-APR-01<br />

Backup Piece 3272 02-APR-01 BEACH/426013509/40/1<br />

Backup Set 3271 02-APR-01<br />

Backup Piece 3274 02-APR-01 BEACH/426013509/41/1<br />

Backup Set 3292 02-APR-01<br />

Backup Piece 3295 02-APR-01 BEACH/426013718/43/1<br />

This example shows backups th<strong>at</strong> are obsolete because there is <strong>at</strong> least<br />

one backup and they were made no more than 3 days ago:<br />

RMAN> report obsolete redundancy 1 until time 'sysd<strong>at</strong>e-3' device type 'sbt_tape'<br />

;<br />

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

RMAN-06147: no obsolete backups found<br />

This example shows orphaned backups th<strong>at</strong> are unusable because they<br />

belong to incarn<strong>at</strong>ions of the d<strong>at</strong>abase th<strong>at</strong> are not direct ancestors of the<br />

current incarn<strong>at</strong>ion:<br />

180 <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!