RMAN-08137: WARNING: archived log not deleted as it is still needed
DB:11.1.0.7.0
OS:Linux
I am trying to delete the archive log with below command
delete archivelog until time 'sysdate -1' backed up 1 times to device type sbt;
Rman unable to delete it throwing the warning "RMAN-08137: WARNING: archived log not deleted as it is still needed"
We have datagaurd configuration and it is in sync with primary. Rman is successfully able to take the database as well as archive log backup but unable to delete archive log.