Site icon IT Tutorial

RMAN-06026: some targets not found – aborting restore

Hi,

Sometimes You can get ” RMAN-06026: some targets not found – aborting restore ” error.

 

Details of error are as follows.

RMAN-06026: some targets not found - aborting restore
Cause: Some of the files specified for restore could not be found.
Message 6023, 6024, or 6025 is also issued to indicate which files could not be found.
Some common reasons why a file can not be restored are that there is no backup or copy of the file
that is known to recovery manager, or there are no backups or copies that fall within the criteria
specified on the RESTORE command, or some datafile copies have been made but not cataloged.
Action: The Recovery Manager LIST command can be used to display the backups and copies that Recovery Manager
knows about. Select the files to be restored from that list.

 

 

 

This error is related with autobackups in FRA ( Flash Recovery Area ), There are backup files but they are belonged to different incarnation than the available backups current incarnation.

 

To solve this error, reset the db_recovery_file_dest and db_recovery_file_dest_size parameters, and RMAN will not look for these files in the FRA.

 

SQL> alter system reset db_recovery_file_dest_size scope=spfile sid='*';

System altered.

SQL> alter system reset db_recovery_file_dest scope=spfile sid='*';

System altered.

Restart database as follows.

SQL> shutdown immediate;
SQL> startup

 

Then try to restore again.

If it is not solved with this action, then Catalog these backup pieces again as follows.

RMAN> catalog start with '/oracle/backup/';

 

 

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

Exit mobile version