RMAN-06207

今天在做rman备份的时候出现下面的错误

RMAN-06207: WARNING: 1 objects could not be deleted for DISK channel(s) due

RMAN-06208:          to mismatched status.  Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212:   Object Type   Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------

RMAN-06214: Datafile Copy   /data/backup/control01.ctl

发现crosscheck发现不了该文件

使用 CROSSCHECK CONTROLFILECOPY 语句执行一次

[oracle@rac1 ~]$ rman target /

Recovery Manager: Release 11.2.0.3.0 - Production on Thu May 24 11:53:51 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: (DBID=295796415)

RMAN> CROSSCHECK CONTROLFILECOPY '/data/backup/control01.ctl';

using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1257 instance=ikangrac1 device type=DISK
validation failed for control file copy
control file copy file name=/data/backup/control01.ctl RECID=2 STAMP=780394881
Crosschecked 1 objects


RMAN> delete obsolete;

RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 7 days
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type                 Key    Completion Time    Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy     2      12-APR-12          /data/backup/control01.ctl

Do you really want to delete the above objects (enter YES or NO)? yes
deleted control file copy
control file copy file name=/data/backup/control01.ctl RECID=2 STAMP=780394881
Deleted 1 objects


RMAN> exit

搞定。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值