rman删掉过期文件

rman备份后物理删掉了备份的文件,会 导致备份过期,必须使用rman命令删除:
rman>crosscheck backup; 执行备份的交叉检查。
rman>delete expired backup; 删除过期的备份
rman>list backup;
发现什么都没有,成功。。。

8.3.2 Deleting Expired RMAN Backups after CROSSCHECK

When the CROSSCHECK command is used to determine whether backups recorded in the repository still exist on disk or tape, if RMAN cannot locate the backups, then it updates their records in the RMAN repository to EXPIRED status. You can then use the DELETE EXPIRED command to remove records of expired backups from the RMAN repository. If the expired files still exist, then the DELETE EXPIRED command terminates with an error.

To delete expired repository records:

  1. If you have not performed a crosscheck recently, then issue a CROSSCHECK command. For example, issue:CROSSCHECK BACKUP; # checks backup sets and copies on configured channels

  2. Delete the expired backups. For example, issue:DELETE EXPIRED BACKUP;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26022000/viewspace-733991/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26022000/viewspace-733991/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值