0

I'm trying to use the command restore database until cancel, but I'm getting the following erro:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "cancel": expecting one of: "scn, sequence, time"
RMAN-01007: at line 1 column 24 file: standard input

Is this command deprecated?

My Oracle database version is the 11g R2

2 Answers 2

3

recover database until cancel is for user managed recovery in SQL*Plus.

It is not a valid syntax in RMAN.

2

It's "recover", not "restore":

recover database until cancel;

See here: http://dba-oracle.com/bk_recover_database_until_cancel_tips.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.