Cannot delete archive logs with RMAN on a standby database
We have primary and standby database. The backups are performed on the primary database.
On the standby database I cannot delete the archived logs through RMAN command
DELETE NOPROMPT ARCHIVELOG UNTIL TIME ='SYSDATE-3'.
On standby server with setting
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
I get error RMAN-08120: WARNING: archived log not deleted, not yet applied by standby
Then I change to
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
I get error RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
Archive logs are applied on standby.
1) Why none of the above is not working?