When you recover the database instantly, the database is available for immediate use. However, the recovery process runs in the backend and all the files are available only after the database is recovered completely.
Note: For more information on volume restore, see How to restore Volumes on a Target Node.
Follow these steps:
# df | grep ‘target_volume’
Example: # df | grep '/dev/sdb1'
#mount <nfs_session_path>:/nfs <session_location_on_local>
Example: #mount xxx.xxx.xxx.xxx:/nfs /CRE_ROOT
#. /d2drestorevol --command=restore --storage-path=<session_location_on_local> --node=<oracle_server> --rp=last --source-volume=<mount_point_for_oracle_data_volume> --target-volume=<restore_target_volume_name> --mount-target=<mount_point_for_oracle_data_volume> --quick-recovery
Example: #. /d2drestorevol --command=restore --storage-path=/CRE_ROOT --node=rh63-v2 --rp=last --source-volume=/opt/oracle --target-volume=/dev/sdb1 --mount-target=/opt/oracle --quick-recovery
You can start the Oracle database immediately after the restore job starts. You do not have to wait for the completion of the database recovery.
$sqlplus / as sysdba SQL>startup;
The Oracle database opens and you can perform the regular database operations such as query, insert, delete, update data, and so on.
The Oracle database is instantly recovered.
Copyright © 2015 Arcserve.
All rights reserved.
|
|