Name
RECOVER
Synopsis
The RECOVER command initiates media recovery on a database, a tablespace, or a datafile. You must be connected as SYSDBA or SYSOPER in order to use this command. The syntax shown here is for Oracle Database 10g.
Syntax
RECOVER {general
|managed
|bracket
}general
::= [AUTOMATIC] [FROMlocation
] {full_recovery
|partial_recovery
| LOGFILEfilename
} [general_option
[general_option
...]]managed
::= MANAGED STANDBY DATABASE {managed_recovery
|cancel
|finish
}bracket
::= {BEGIN BACKUP | END BACKUP}full_recovery
::= [STANDBY]DATABASE [full_option
[full_option
...]]partial_recovery
::= {partial_type
| STANDBYpartial_type
} UNTIL [CONSISTENT WITH] CONTROLFILEgeneral_option
::= {TEST | ALLOWinteger
CORRUPTION |parallel
}managed_recovery
::=managed_recovery_option
[managed recovery option
...]cancel
::= CANCEL [IMMEDIATE] [WAIT | NOWAIT]finish
::= [DISCONNECT [FROM SESSION]] [parallel
] FINISH [SKIP [STANDBY LOGFILE]] [WAIT | NOWAIT]full_option
::= {UNTIL {CANCEL | TIMEdatetime
| CHANGEinteger
} | USING BACKUP CONTROLFILE}partial_type
::= {TABLESPACEtablespace
[,tablespace
...] | DATAFILE {filename
|filenumber
}[,filename
|filenumber
...]}managed_recovery_option
::= {{DISCONNECT [FROM SESSION] | TIMEOUTinteger
| NOTIMEOUT} | {NODELAY | DEFAULT DELAY | DELAYinteger
} | NEXTinteger
| {EXPIREinteger
| NO EXPIRE} |parallel
| USING CURRENT LOGFILE | UNTIL CHANGEinteger
| THROUGH {[THREADinteger
] SEQUENCEinteger
| ALL ARCHIVELOG | {ALL | LAST | NEXT} SWITCHOVER} ...
Get Oracle SQL*Plus: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.