- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
4#
发表于 2012-3-2 14:28:52
ODM Finding:- Need Help To Remove Old Tape Backups From Catalog [ID 342284.1]
- Applies to:
- Oracle Server - Enterprise Edition - Version: 9.2.0.1 and later [Release: 9.2 and later ]
- Information in this document applies to any platform.
- Goal
- How to delete obsolete TAPE backups via RMAN, when the Media Management Layer
- is NOT available anymore.
- So how to delete OLD backups which have been made to tape, while the current
- backup strategy is to disk and NO Media Manager is available.
- Solution
- Allocate a maintenance channel with the dummy sbt API and run the DELETE OBSOLET.
- RMAN> allocate channel for maintenance device type sbt
- parms 'SBT_LIBRARY=oracle.disksbt, ENV=(BACKUP_DIR=/tmp)';
- delete obsolete;
- The DUMMY API (oracle.disksbt) is simulating the callout to the Media Management Layer.(MML)
- This way RMAN thinks an actual MML is available and can perform the maintenance.
复制代码 |
|