Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting all tapes used out of RMAN
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
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
"When I come home from work and see those little noses pressed against the windowpane, then I know I am a success" - Paul Faulkner
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.
![]() |
![]() |