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 )

 

 2,695 views last month,  2 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply