Oracle Error RMAN-06525: RMAN retention policy is set to none

Oracle Error Message

RMAN-06525: RMAN retention policy is set to none

Reason for the Error

Command DELETE OBSOLETE and REPORT OBSOLETE requires that either:

* RMAN retention policy is not NONE or,

* RMAN retention policy is specified with REPORT/DELETE command.

Solution

Either configure RMAN retention policy with CONFIGURE command or specify it at the end of DELETE/REPORT command.