RMAN error collection

Source: Internet
Author: User

SQL> select * from v $ version;

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0-Prod
PL/SQL Release 10.2.0.3.0-Production
CORE10.2.0.3.0Production
TNS for 32-bit Windows: Version 10.2.0.3.0-Production
NLSRTL Version 10.2.0.3.0-Production

 

Detailed description of the cross check command under RMAN

 

(RMAN-06207 & RMAN-06208) decide which keyword to use based on the blue font Section

One of these cases (solved by crosscheck copy)

RMAN> report obsolete;


The RMAN retention policy is applied to this command.
Set the RMAN retention policy to redundancy 1.
Obsolete backup and copy reports
Type keyword completion time file name/handle
----------------------------------------------------------------

Control file copy 7 17-4 month-13 E: \ CONTROLFILE. TXT

RMAN> delete obsolete;


The RMAN retention policy is applied to this command.
Set the RMAN retention policy to redundancy 1.
Use channel ORA_DISK_1
Delete the following obsolete backups and copies:
Type keyword completion time file name/handle
----------------------------------------------------------------
Control file copy 7 17-4 month-13 E: \ CONTROLFILE. TXT


Are you sure you want to delete the above objects (enter YES or NO )? Yes


RMAN-06207: Warning 1 object (for DISK channel) cannot be deleted because the status does not match ).
RMAN-06208: Use the CROSSCHECK command to correct the status
RMAN-06210: List of unmatched objects
RMAN-06211: ================================
RMAN-06212: object type file name/handle
RMAN-06213 :------------------------------------------------------------------
RMAN-06214: Datafile Copy E: \ CONTROLFILE. TXT

RMAN> crosscheck copy;

Released channel: ORA_DISK_1
Allocated channel: ORA_DISK_1
Channel ORA_DISK_1: sid = 159 devtype = DISK
The description does not match any archived logs in the recovery directory.
An error occurred while verifying the control file copy.
Control file copy file name = E: \ CONTROLFILE. TXT recid = 7 stamp = 812996873
1 object that has been cross-checked


RMAN> delete obsolete;

The RMAN retention policy is applied to this command.
Set the RMAN retention policy to redundancy 1.
Use channel ORA_DISK_1
Delete the following obsolete backups and copies:
Type keyword completion time file name/handle
----------------------------------------------------------------
Control file copy 7 17-4 month-13 E: \ CONTROLFILE. TXT


Are you sure you want to delete the above objects (enter YES or NO )? Yes
Deleted control file copy
Control file copy file name = E: \ CONTROLFILE. TXT recid = 7 stamp = 812996873
1. The object has been deleted.

RMAN> report obsolete;

The RMAN retention policy is applied to this command.
Set the RMAN retention policy to redundancy 1.
No obsolete backup found

  • 1
  • 2
  • 3
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.