RMAN-06059 : expected archived log not found, lost of archived log compromises recoverability

Error : RMAN-06059 expected archived log not found, lost of archived log compromises recoverability

Many times you have faced this error whenever you’ve tried to delete the archive log file through RMAN.

I encountered this error while executing below command on RMAN.

RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE ALL INPUT;

Root Cause :

This error indicates that RMAN’s repository metadata references an archived log file that no longer exists at its recorded location.

Solution :

DBA has to mark its status of the archives from Available to Expired in RMAN repository.

RMAN> CROSSCHECK ARCHIVELOG ALL;
RMAN> DELETE EXPIRED ARCHIVELOG ALL;

Your issue is resolved. 🙂

Disclaimer: 

This is an independent personal blog and is not affiliated with, sponsored by, or endorsed by Oracle Corporation. The views, explanations, and experiences expressed here are the author’s own. Commands, scripts, and procedures may be based on Oracle’s official documentation and are provided for educational and reference purposes only. Always test and validate them before use in a Live/Production environment. Sample output shown in this article was generated during the author’s own testing and may vary depending on the environment.

Please read full Disclaimer.