合 Oracle删除控制文件中的磁带备份信息
Tags: Oraclerman控制文件NBUORA-27191备份信息
使用NBU进行备份的信息也记录在控制文件中,不能使用普通的方式删除,删除方式如下:
1 2 3 4 | list backupset of datafile 1; allocate channel for maintenance device type sbt parms 'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=@aaaab)'; crosscheck backup; delete noprompt expired backup; |
注意:BACKUP_DIR需要修改,路径使用“list backupset”查询Media后的值即可。
若报错:
1 2 3 | RMAN-03009: failure of delete command on ORA_MAINT_SBT_TAPE_1 channel at 03/14/2022 12:49:16 ORA-27191: sbtinfo2 returned error Additional information: 3480 |