Oracle Error RMAN-06143: LIKE may only be specified with COPY

Oracle Error Message

RMAN-06143: LIKE may only be specified with COPY

Reason for the Error

The LIKE option was specified with a RMAN command. This is not permitted because only copies of datafiles, control files or archived logs have file names that may be tested with a LIKE operand.

Solution

Remove the LIKE option and re-run the RMAN command.