Recovery in Rman corresponds to two operations: Database repair (Restore) and database recovery (recover)
Database repair (Restore): A data file that uses a backup set to replace a corrupted database file or restore it to a new location. When Rman is doing a repair operation, it uses the recovery directory (the control file for the target database without establishing a recovery directory) to obtain the backup information
and select the appropriate backup to recover from.
Database repair (Recover): Applies all redo logs, restores the database to its pre-crash state, or applies partial redo to restore the database to a specified point in time.
9.1RMAN Recovery Operations Literacy
Recovery in three steps
Put the database in the correct state
Perform a full or incomplete recovery
Open Database
1.RMAN How to select a backup set
Rman does not know at first that it only follows a fixed rule to find the right backup set for your requirements, first to find the most recent available backup set
Automation in 2.RMAN Recovery
backup fragments are automatically searched for redundancy If there is an error in the backup fragment
3. Incremental recovery and application redo logs
If an incremental backup is created when the Rescover command is executed, the Rman takes precedence over the incremental backup image recovery.
9.2.1 Full media recovery for a database
(1) Start database to load state
Startup Mount
(2) Perform recovery operations
Restore Database
Recover database
(3) Open the database
ALTER DATABASE Open
This assumes that the database is in archive mode, and if it is non-archive mode, before the restore command is executed, the previously backed up control file needs to be restored, and the database must be opened in open resetlogs after the restore good recover command is executed.
Oracle Smear Oracle Learning Note 9th, Rman says, I can recover.