RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process
Archivelogs are in production database is not getting deleted eventhough they are applied in standby database. We are getting RMAN-08137: WARNING: archived log not deleted, needed for standby or upstream capture process error. Below is the scirpt used. Can any one help on this
run
{
BACKUP AS COMPRESSED BACKUPSET
INCREMENTAL LEVEL = 0
DEVICE TYPE DISK
TAG = 'ARCHIVELOG'
ARCHIVELOG ALL archivelog until time 'sysdate - 1' delete input;
}