Site icon IT Tutorial

RMAN-12008: could not locate backup piece | RMAN-12009

I got “ RMAN-12008: could not locate backup piece | RMAN-12009 ” error in Oracle database during RMAN Restore datafile.

 

RMAN-12008: could not locate backup piece | RMAN-12009

 

Details of error are as follows.

 

RMAN> run 
{
allocate channel fzfs_ch01 device type disk;
restore datafile 710;
release channel fzfs_ch01;
}


allocated channel: fzfs_ch01
channel fzfs_ch01: SID=3986 instance=MSDBDG1 device type=DISK

Starting restore at 25-DEC-20

released channel: fzfs_ch01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/25/2020 18:12:27
RMAN-12009: command aborted because some backup pieces could not be located
RMAN-12008: could not locate backup piece /export/backup/EksikMSDB_38vivnor_2457704_20201225.bkp

RMAN>

 

 

RMAN-12008: could not locate backup piece | RMAN-12009: command aborted because some backup pieces could not be located

 

The RMAN-12008, RMAN-12009 error is related with the Oracle Cluster Database File Access problem or Corruptions of Backup pieces.

All backup pieces exist under the related location and all backup pieces are not corrupted. So the problem is related with The Shared Disk.

I have checked that /export/ mount point is not mounted on the second node of Database.

To solve this error, Mount the /export/ disk on all nodes of Oracle RAC instance or Move these backup files to the SHARED Disk like ACFS or ASM Disk groups.

Or You can set the cluster_database=false and restart your instance and You can restore these files from only one node instead of multiple nodes.

 

SQL> alter system set cluster_database=FALSE scope=spfile;
SQL> shutdown immediate
SQL> startup

Once you restored the files, set cluster_database=true again and open all nodes.

SQL> alter system set cluster_database=true scope=spfile;

 

 

 

Do you want to learn more details about RMAN, then Click this Link and read the articles.

 

 

Do you want to learn Oracle Database for Beginners, then Click and read the following articles.

Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

Exit mobile version