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.
RMAN> report need backup incremental 3;<br />
RMAN-03022: compiling command: report<br />
Report of files th<strong>at</strong> need more than 3 incrementals during recovery<br />
File Incrementals Name<br />
---- ------------ ----------------------------------------------<br />
You can report on d<strong>at</strong>a files needing backup based on the number of<br />
redundant backups. For example, your backup policy calls for saving <strong>at</strong><br />
least 3 backup gener<strong>at</strong>ions (grandf<strong>at</strong>her, f<strong>at</strong>her, son). The example reports<br />
on d<strong>at</strong>a files having less than 3 redundant backups:<br />
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 /opt/app/oracle/orad<strong>at</strong>a/paris/system01.dbf<br />
2 2 /opt/app/oracle/orad<strong>at</strong>a/paris/tools01.dbf<br />
3 2 /opt/app/oracle/orad<strong>at</strong>a/paris/rbs01.dbf<br />
4 2 /opt/app/oracle/orad<strong>at</strong>a/paris/temp01.dbf<br />
5 2 /opt/app/oracle/orad<strong>at</strong>a/paris/users01.dbf<br />
6 2 /opt/app/oracle/orad<strong>at</strong>a/paris/indx01.dbf<br />
7.2.1.3 Report on obsolete backups<br />
You can report on obsolete backups to determine which ones can be deleted.<br />
This example shows th<strong>at</strong> any backup having more than one copy is<br />
considered obsolete:<br />
RMAN> report obsolete redundancy 1 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 1941 21-MAR-01<br />
Backup Piece 1944 21-MAR-01 PARIS/424966318/90/1<br />
Backup Set 1942 21-MAR-01<br />
Backup Piece 1945 21-MAR-01 PARIS/424966318/91/1<br />
Backup Set 1943 21-MAR-01<br />
Backup Piece 1946 21-MAR-01 PARIS/424966374/92/1<br />
Backup Set 2021 23-MAR-01<br />
Backup Piece 2024 23-MAR-01 PARIS/425130432/97/1<br />
Backup Set 2022 23-MAR-01<br />
Backup Piece 2025 23-MAR-01 PARIS/425130432/98/1<br />
Backup Set 2023 23-MAR-01<br />
Backup Piece 2026 23-MAR-01 PARIS/425130498/99/1<br />
94 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management