Oracle Error RMAN-20001: target database not found in recovery catalog

Oracle Error Message

RMAN-20001: target database not found in recovery catalog

Reason for the Error

target database is not found in the recovery catalog

Solution

make sure that the target database is registered in the recovery recovery catalog