The difference between recover and restore:
Restore just copy the physical file, recover'll consistent the database.
Restore is a restored, file-level restore. is the physical file restore.
Recover is recovery, data-level recovery. Logical recovery, such as application archive logs, redo logs, all synchronized, consistent.
In my own dialect, I use Restore to copy the backup files to the database directory to replace, and then use recover after some processing, the database is back to normal.
1. Restore command: Used to restore a data file that has been backed up.
(1), restore database restores all the data files.
(2), restore tablespace restores a data file for a specific tablespace.
(3), restore datafile restores a specific data file.
(4), restore Controlfile restoring control files.
(5), restore Archivelog restores the archive log file.
2, recover command: When the database needs to apply the archive log file recovery data file, use the Recover command. Using this command the database system automatically applies the archived log files.
(1), recover database recovers all data files.
(2), recover tablespace recover data files for a particular tablespace.
(3), recover datafile recover a specific data file.
Restore is only restored with a backup, recover with archivelog or online log
To illustrate:
Suppose I point A, make a backup, point B database hangs
Restore database;//This operation takes advantage of a backup of point A to return to a point in time
recover database;//This operation uses Archivelog and online log to do recover, from point A, advance to point B
A dump (restore) is the process of restoring a backed-up copy file to the original database when a data file or control file becomes corrupted.
Recovery (recover) refers to the state of applying archive logs and redo log transactions to update a copy file to a data file before it fails.
Restore is also the original damaged file (Rman commonly used)
Recover is restored via redo Log & archive log
Restore is restoring, file-level recovery
Recovery is recovery, data-level recovery
The difference between restore and recover (RPM)