QUOTE (alireza.mmm @ Apr 16 2017, 10:53 AM)
i have oracle 11gR2 and i want to delete archive log from primary database when that archive log applied on standby server AND that archive log backed up 1 times.
i set this config "CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY in primary Rman
and run in primary rman this commad : "delete archivelog all backed up 1 times to disk;"
but delete all archive log !!!!!!! even archive log that not backed up...
please help me to create script delete archive log in primary server that exist backed up 1 times AND applied on standby
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY BACKED UP 1 TIMES TO DISK;
crosscheck archivelog all;
backup as backupset archivelog all delete input;