Oracle Error RMAN-06131: SKIP OFFLINE/READONLY only allowed with current control file

Oracle Error Message

RMAN-06131: SKIP OFFLINE/READONLY only allowed with current control file

Reason for the Error

The SKIP OFFLINE and SKIP READONLY options are only permitted when the target database control file is current. When the target control file is not current, it is not possible to obtain a datafile’s offline/read only status.

Solution

Remove the skip option or mount a current control file on the target database.