How to Restore Database to Alternate Node

This section provides information about how to restore database to alternate node. To explain this procedure, we have used Windows. This procedure is applicable even for Linux.

Notes:

Follow these steps:

  1. From the UDP Console, select the recovery point from where you need to perform restore. For more information, see Define the Restore Options.
  2. On the Restore Options dialog, from the Restore destination drop-down, select Restore to the alternate node.
  3. For Node name/IP, enter the node name or IP address.
  4. For Options, select the Restore to an alternate location option, and then add a path of the alternate location.
  5. Notes:
  6. Confirm that Restore Job is successful from the UDP Console.
  7. Connect to sqlplus on alternate node and confirm that the database is up and running.
  8. Restored database is operational with specified alternate location. However, after database restarts, the database might go back to previous copy or might not come back properly because of a known issue. To avoid any further problems after restoring to alternate location, it is recommended to follow the steps below. These steps help to create or place right copy of spfile/pfile.
    1. Go to %ORACLE_HOME%\database and rename spfile<SID>.ora.
    2. Note: For Linux Oracle installation, spfile<SID>.ora is located in the $ORACLE_HOME\dbs path.
    3. Connect to sqlplus.
    4. Go to SQL prompt and run the following command:
    5. sqlplus > create pfile from spfile.
    6. Go to %ORACLE_HOME%\database, open init<SID>.ora in any editor, and then do the following:
      1. Update “db_create_file_dest” value with the path specified for alternate restored location.
      2. Example: *.db_create_file_dest='E:\app\oracle2\ORA19C280220211833'
      3. Remove additional ‘\’ from end of path under the diagnostic_dest parameter.
      4. Change the following:
      5. From diagnostic_dest='E:\app\oracle2\ORA19C280220211833\'
      6. To diagnostic_dest='E:\app\oracle2\ORA19C280220211833'
      7. Save the file.
    7. Go to SQL prompt and run the following commands:
    8. Sqlplus > shutdown immediate
    9. sqlplus > startup
    10. sqlplus > create spfile from pfile
    11. Note: If DB is not started from the spfile, restores from the corresponding backups are limited to the original node only. To avoid it, restart the database again after creation of the spfile. To restart, run the follow commands:
    12. Sqlplus > shutdown immediate
    13. sqlplus > startup