Hi,
Sometimes You can get “RMAN-20240: archived log not found in the recovery catalog ” error.
Details of error are as follows.
RMAN-20240: archived log not found in the recovery catalog
RMAN> CHANGE ARCHIVELOG ‘+DATA/MSDB/ARCHIVELOG/2020_04’ UNCATALOG;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of uncatalog command at 28/04/2020 09:34:04
RMAN-20240: archived log not found in the repository
RMAN-06046: archived log name: +DATA/MSDB/ARCHIVELOG/2020_04
This error is related with the crosscheck archivelog problem.
Let’s run the crosscheck archivelog all. It works fine
RMAN> crosscheck archivelog all;
Then take the backup it will run.
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/