About this task
If you specify the onbar -r -e command
in a cold restore, you must restore all storage spaces. Use the onbar
-r -e -p command to restore all or specific storage spaces.
To
perform a cold external restore:
Procedure
- Shut down the database server with the onmode
-ky command.
- Salvage the logical logs with the onbar -b -l
-s command.
- To restore the storage spaces from an external backup,
use a copy command, such as cp, dd,
or tar on UNIX™ or
a file-backup program.
You must restore the storage
spaces to the same path as the original data and include all the chunk
files.
- To perform an external restore of all storage spaces and
logical logs, use the onbar -r -e command.
- To perform a point-in-time external restore of all storage
spaces, use the onbar -r -e -t datetime command.
This step brings the database server to fast-recovery mode.
ON-Bar and
the database server roll forward the logical logs and bring the storage
spaces online.