Restore

Restore your files/database to the Original location or an Alternate location.

Key:

Field Description
Select what to restore For database restore, only one option is available, ie. 'Choose from files as of job'.
Show backup job(s) outside retention Displays all backup jobs, including deleted ones.
Restore Raw File The Restore Raw File option is for advanced Oracle database administrators and should only be used if you have in-depth knowledge and understanding of Oracle database engine, Oracle database schema, knowledge of the database server and network infrastructure. Therefore, it is not recommended to use this restore option as there is need to utilize additional Oracle techniques and scripts to facilitate a manual database restore.
Please refer to the following articles of Oracle Database Backup and Recovery User's Guide for details:
  • Oracle 19c
  • https://docs.oracle.com/en/database/oracle/oracle-database/19/bradv/index.html
  • Oracle 18c
  • https://docs.oracle.com/en/database/oracle/oracle-database/18/bradv/index.html
  • Oracle 12c
  • https://docs.oracle.com/database/121/BRADV/title.htm
    Restore database to Choose the destination to restore the file/database to, ie. 'Original location' or 'Alternate location'.
    Oracle Home This is where the Oracle_Home path is located. This is already set to the location of the Oracle_Home by default.
    Host This value is set to 127.0.0.1 by default.
    Port This is the port of the Oracle database instance. The default port is 1521.
    SID A database is referenced by at least one Oracle instance which is uniquely identified from any other instance on this computer by an Oracle System Identifier (SID).
    Password This is the password for the system user account in the new database.
    Confirm password Confirm the password for the system user account in the new database.
    Database Area The location where the database files will be restored to.
    Control file Filename The filename of the control file to be restored.
    Control file File Directory The location where the control files will be restored to.
    Data files Filename The filename of the data files filename to be restored.
    Data files File Directory The location where the data files will be be restored to.
    Redo Log Groups Filename The filename of the Redo log groups to be restored.
    Redo Log Groups File Directory The location where the redo log groups will be restored to.
    Flash Recovery Area This is used as the default for all disk based backup and recovery operations, and is also required for automatic disk based backup using Enterprise Manager. Oracle recommends that the database files and recovery files be located on physically different disks for data protection and performance.
    Temporary Directory This is the temporary directory for the files to be restored to.


    To restore Oracle backup set:

    1. TNS listener service must be started to allow connections to the Oracle database server for the restore process. To check if the TNS listener service is running, use the lsnrctl status command. If the TNS listener service is not started, use the lsnrctl start command to start the service.
      Example: A running TNS Listener service on Oracle 19c.
      C:\Users\Administrator>lsnrctl status
      LSNRCTL for 64-bit Windows: Version 19.0.0.0.0 - Production on 14-OCT-2020 16:45:29
      Copyright (c) 1991, 2019, Oracle. All rights reserved.
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
      STATUS of the LISTENER
      ------------------------
      Alias        LISTENER
      Version      TNSLSNR for 64-bit Windows: Version 19.0.0.0.0 - Production
      Start Date   14-OCT-2020 11:11:04
      Uptime       0 days 5 hr. 34 min. 27 sec
      Trace Level   off
      Security     ON: Local OS Authentication
      SNMP         OFF
      Listener Parameter File     D:\oracle\19.3.0\dbhome\network\admin\listener.ora
      Listener Log File     D:\oracle\diag\tnslsnr\w12x-5-43\listener\alert\log.xml
      Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora19c-w2k16)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=ora19c-w2k16)(PORT=5500))(Security=(my_wallet_directory=D:\ORACLE\admin\orcl\xdb_wallet))(Presentation=HTTP)(Session=RAW))
      Services Summary...
      Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
      Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Service "orclcXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Service "pdborcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      The command completed successfully
    2. Run the sqlplus / as sysdba command to verify if the Oracle service is active.
      The following is just an example after an Oracle instance failure due to corrupted data and/or configuration files. It might be different on your Oracle instance.
      C:\Users\Administrator>sqlplus / as sysdba
      SQL*Plus: Release 19.0.0.0.0 - Production on Thu Nov 12 10:31:33 2020
      Version 19.3.0.0.0
      Copyright (c) 1982, 2019, Oracle. All rights reserved.
      Connected to an idle instance.
    3. Select the backup set that you would like to restore the Oracle database from.
    4. Select the destination storage that contains the Oracle database(s) that you would like to restore from.
    5. Option: Tick 'Show backup job(s) outside retention' if you want all backup jobs to be displayed.
    6. Select the backup snapshot from the 'Select what to restore' drop-down box. You can also select the date and time of the backup from the date and time drop-down box.
    7. Select the database(s)/files that you want to restore from the file tree. Click on the [+] in the file tree to expand the tree, [-] to collapse the tree. Click on the check box, all the files under the check box will be selected.
    8. Click on [Next].
    9. Choose the restore location. (i.e. Original or Alternate Location)

      For Restore to Original location:

      For Restore to Alternate location:


    10. Click on [Restore] to begin the restore process.
    11. After the restore job is completed, verify if the Oracle database instance has been restored using the following SQL query to verify if the instance is online.
      C:\Users\Administrator>sqlplus / as sysdba
      SQL*Plus: Release 19.0.0.0.0 - Production on Thu Nov 12 10:31:33 2020
      Version 19.3.0.0.0
      Copyright (c) 1982, 2019, Oracle. All rights reserved.
      Connected to:
      Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
      Version 19.3.0.0.0
      SQL> select instance from v$thread;
      INSTANCE
      ---------------------------------------------------------------
      orcl
      SQL>
    12. For Restore Raw File:

    ?

    Please note that the add network drive feature is not supported in the 'Restore raw file' option. This option can only select network drives which have already been setup in Windows.