Sunday 25 September 2011

RMAN-06059: expected archived log not found

RMAN-06059: expected archived log not found RMAN attempted to backup an archive log file, but couldn't find it. This can happen for a variety of reasons; the file has been manually moved or deleted, the archive log destination has recently been changed, the file has been compressed, etc. Your options are either to restore the missing file(s), or to perform a crosscheck. To perform a crosscheck, run the following command from within RMAN: change archivelog all crosscheck; It is advisable to perform a full backup of the database at this point. When an archive log crosscheck is performed, RMAN checks each archive log in turn to make sure that it exists on disk (or tape). Those that are missing are marked as unavailable. If you have got missing logs, this won't bring them back. It will allow you to get past this error and back-up the database though.

Blogger Labels: RMAN,backup,archive,destination,database,disk,logs,error,options,crosscheck