This section describes procedures for performing cold external restores.
If you specify the ontape -p -e command in a cold restore, you must restore all storage spaces. Use the ontape -p -e command to restore all or specific storage spaces.
To shut down the database server, use the onmode -ky command.
You must restore the storage spaces to the same path as the original data and include all the chunk files.
ontape -p -e ontape -l
To perform a physical external restore of specific storage spaces, followed by a logical restore, use these commands:
ontape -p -e rootdbs ontape -p -e critical_space1 ontape -p -e other_dbspaces ontape -l
This step brings the database server to fast-recovery mode. The ontape utility and the database server roll forward the logical logs and bring the storage spaces online.
The following table contains an example of external restore commands.
| Action | External Restore Command | Comments |
|---|---|---|
| Physical external restore and logical restore | ontape -p -e
ontape -l |
The system restores the logical logs from the oldest external backup. |