Question: What is the difference between recovery and restoring of the database?
Answer: Here is a scenario to understand Restore & Recovery
Sunday 10pm : Database is backed up. and is running fine.
Monday 11am : Went down / crashed due to some reason.
To bring up the database, we have 2 options:
1. Simple Restore : copying files from backup taken Sunday night and open the database. Here, we loose all the changes that are done since Sunday night.
2. Restore and Recovery: Copying files from backup taken Sunday night and applying all the archivelog and redo log files to bring up the database to the point of failure. Here you don’t loose the changes done until Monday 11 am.
Restore: Copying Files from the Backup Overwriting the Existing Database Files
Recovery: Applying the Changes to the Database Till Point of Failure. These Changes Are Recorded In Online Redolog And Archivelog (Which Are The Backups Of Redolog) Files.