Oracle Error RMAN-20501: redo logs from parent database incarnation cannot be applied

Oracle Error Message

RMAN-20501: redo logs from parent database incarnation cannot be applied

Reason for the Error

A RESTORE or RECOVER of a datafile was requested, but recovery of the datafile would require applying redo logs that were generated before the most recent OPEN RESETLOGS.

Solution

If a full backup or datafile copy from the current database incarnation exists, ensure that it is marked AVAILABLE, and that a channel of the correct device type is allocated. It may also be necessary to remove the FROM BACKUPSET or FROM DATAFILECOPY or FROM TAG operands if these have been specified.