ITPub博客

首页 > Linux操作系统 > Linux操作系统 > rman删掉过期文件

rman删掉过期文件

原创 Linux操作系统 作者:janny_yu 时间:2012-06-28 09:53:38 0 删除 编辑
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/,如需转载,请注明出处,否则将追究法律责任。

上一篇: sql where 1=1 0=1
请登录后发表评论 登录
全部评论

注册时间:2012-03-05

  • 博文量
    7
  • 访问量
    4009