Performing a cold restore
If a critical storage space is damaged because of a disk failure or corrupted data, you must perform a cold restore. If a disk fails, you need to replace it before you can perform a cold restore to recover data.
About this task
Procedure
To perform a cold restore:
- Shut down the server by running the onmode -ky command.
- If the disk that contains the logical-log files must be
replaced or repaired, use the onbar -b -l -s command
to salvage logical-log files on the damaged disk.Otherwise, ON-Bar automatically salvages the logical logs.
- If necessary, repair or replace the damaged disk.
- If the files in INFORMIXDIR are damaged,
copy the back ups of administrative files to their original locations.
Otherwise, you do not need to copy the administrative files.
- Restore the critical and noncritical storage spaces by
running the onbar -r command.When the restore is complete, the database server is in quiescent mode.
- Start the server by running the onmode -m command.
- Synchronize the storage manager by running the onsmsync command.