Sometimes You can get “RMAN-08120: WARNING: archived log not deleted, not yet applied by standby ” error.
Details of error are as follows.
RMAN-08120: WARNING: archived log not deleted, not yet applied by standby
SQL> SELECT * from v$archive_dest where (valid_now = 'UNKNOWN' AND status = 'DEFERRED') ;
If the above query returns a row (rows), then you have some destinations that are marked DEFERRED.
If you have one of V$ARCHIVE_DEST with valid_now=’UNKNOWN’ and status = ‘DEFERRED’.
Then because of Bug 16082541, we are considering DEFERRED destination applied archived logs too and hence rman not purging those.
To solve this error, run the following script for the deferred destinations
‘n’ id the dest_id
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_N = '' SCOPE = BOTH;
and rerun backup and check the RMAN-08120 Warning disappear
Do you want to learn more details about RMAN, then read the following articles.
1,488 views last month, 1 views today