Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting all tapes used out of RMAN

Re: Getting all tapes used out of RMAN

From: Fuad Arshad <fuadar_at_yahoo.com>
Date: Tue, 25 Jul 2006 07:04:54 -0700 (PDT)
Message-ID: <20060725140454.12487.qmail@web82109.mail.mud.yahoo.com>


hereis a script thati hope might help
select d.name, p.tag, p.media,

       s.incremental_level "LEVEL",
       to_char(s.start_time, 'DD-MON-YY HH24:MI') start_time,
       s.elapsed_seconds/60 "MINUTES"
from  RC_DATABASE d, RC_BACKUP_PIECE p, RC_BACKUP_SET s
where d.name            = <dname>
    and p.backup_type     = 'D' -- D=Database, L=Log
  and d.db_key = p.db_key

  and s.db_key = p.db_key
  and p.bs_key = s.bs_key

Does anyone know a way to get all used tapes, as part of an RMAN backup, out of either RC_* RMAN views or V$BACKUP views? RC_/V$BACKUP_PIECE.MEDIA lists the tape that was initially used for backing up a piece, but it doesn't appear to list anywhere if the piece extends onto 1+ more tapes. So far I've only been able to get that info out of Legato using mminfo commands.  

The RMAN catalog is on 10.2.0.2, with databases being backed up on 9.2.0.6. Legato is the backup software (4.1)
The RMAN catalog resides on Linux RHEL 4 and databases being backed up may be on RHEL 4, Tru64 5.1, or RHEL 2.x  

Thanks.  

Dave



Dave Herring, DBA
Acxiom Corporation
3333 Finley
Downers Grove, IL 60515
wk: 630.944.4762
<mailto:dherri_at_acxiom.com>
 

"When I come home from work and see those little noses pressed against the windowpane, then I know I am a success" - Paul Faulkner  



The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged.

If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.

Thank you.



--

http://www.freelists.org/webpage/oracle-l Received on Tue Jul 25 2006 - 09:04:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US