|
原帖由 赵宇 于 2008-4-7 08:20 发表 ![]()
从备份来看,至少可以恢复到当时备份那个电.如果归档连续,可以恢复到最后的归档.
recover database 提示缺少归档的话,你可以用set until cancel来做不完全恢复.
control_file_record_keep_time=7不是说7天信息,虽然SG是那么说,但你可以看看你的备份,7天之前的备份信息不存在了吗,还是存在的,这个参数只是控制controlfile的大小
没有必要重建controlfile,再把备份restore一下,用cancel
RMAN> recover 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: "logseq, restore, scn, sequence, time"
RMAN-01007: at line 1 column 24 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, connect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, library, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, validate"
RMAN-01007: at line 1 column 30 file: standard input |
|