Oracle Error RMAN-06142: DEVICE TYPE cannot be specified with this command

Oracle Error Message

RMAN-06142: DEVICE TYPE cannot be specified with this command

Reason for the Error

The DEVICE TYPE option was specified with a command that does not support it.

Solution

Remove the DEVICE TYPE option and re-run the command.