Recovery manager (RMAN) is a command line utility used to perform backup and recovery. RMAN provide greater ease of management and administration of the backup and recovery operations. RMAN backup clause backup database files, archive logs and other oracle database files. RMAN backup performa backups without shutting down the database.
The RMAN backup and recovery environment is preconfigured for each target database. The RMAN configuration is persistent and applies to all subsequent operations on target database, even if you exit and restart RMAN.
The primary purpose of RMAN backups is to protect your data. If a media failure or disaster occurs, then you can restore your backups and recover lost changes.
Oracle RMAN Recovery involves two parts: restoring a physical backup and then performing recovery with the changes made to the database since the last backup. A media recovery is executed on the user's command, usually in response to media failure. In media recovery, online or archived redo logs can be used to make a restored backup current or to update it to a specific point in time.
Media recovery can restore the whole database, a tablespace or a datafile and recover them to a specified time. Whenever redo logs are used or a database is recovered to some non-current time, media recovery is being performed.
Use the RESTORE and RECOVER commands for RMAN restore and recovery of physical database files.
RMAN DUPLICATE command creates duplicate database or clone from backups of the target database while retaining the original target database.
RMAN command list mostly used during the rman backup and recovery operations. These rman commands can be executed at RMAN prompt, or within a RUN block