Oracle

恢復數據庫直到取消?

  • March 24, 2020

我正在嘗試使用命令restore database until cancel,但出現以下錯誤:

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

此命令是否已棄用?

我的Oracle數據庫版本是11g R2

這是“恢復”,而不是“恢復”:

recover database until cancel;

見這裡:http ://dba-oracle.com/bk_recover_database_until_cancel_tips.htm

recover database until cancel用於使用者管理的恢復SQL*Plus

它不是 RMAN 中的有效語法。

引用自:https://dba.stackexchange.com/questions/262554