Oracle Error RMAN-06015: error while looking up datafile copy name: string

Oracle Error Message

RMAN-06015: error while looking up datafile copy name: string

Reason for the Error

An error occurred while looking up the specified datafile copy name in the recovery catalog or target database control file.

Solution

This error is accompanied by other errors describing the reason for the failure. Ensure that the file name is entered correctly. If the datafile copy was created when the recovery catalog was not available, then a RESYNC CATALOG must be done to update the recovery catalog.