Oracle Error RMAN-06074: file string is not an ORACLE datafile

Oracle Error Message

RMAN-06074: file string is not an ORACLE datafile

Reason for the Error

The file header indicates that this file is not a datafile. The file may have been overlaid or corrupted.

Solution

RESTORE the datafile to a new location, then do a SWITCH, and then retry the RECOVER command.