Standby Archive Logs in Primary Recovery Catalog
Oracle RDBMS 12.1.0.2
Non-Active Dataguard, one primary and one standby
We have a primary database with scheduled RMAN backups happening, and every day we do a PREVIEW to make sure all is right.
We've been getting these messages:
no backup of archived log for thread 1 with sequence 2180 and starting SCN of 74815143139 found to restore
And have pieced this together:
At first we had the primary rman archivelog deletion policy as:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED TO ALL STANDBY:
This was a bad thing to do because it caused (using 2142 as an example)
- archive log 2142 generated on primary
- archive log 2142 shipped to standby and applied