Oracle Error RMAN-06564: must use the TO clause when the instance is started with SPFILE

Oracle Error Message

RMAN-06564: must use the TO clause when the instance is started with SPFILE

Reason for the Error

A restore of the SPFILE from AUTOBACKUP was attempted when the instance is started with SPFILE and no alternate destination was specified.

Solution

Specify an alternate destination with the TO clause.