Reinitializing the database server and restoring data
Reinitializing disk space destroys all existing data managed by the database server. However, you can restore data from a backup that was performed before reinitialization.
Before you begin
About this task
During initialization, ON-Bar saves the emergency boot file elsewhere and starts a new, empty emergency boot file. Therefore, any backups that you performed before reinitializing the database server are not recognized. You must use the copy of the emergency boot file you saved before initialization to restore the previous database server instance.
Procedure
To reinitialize the database server and restore the old
data:
- Copy the emergency boot file, the oncfg file, and the onconfig file to a different directory.
- Set the FULL_DISK_INIT configuration parameter to 1 in the onconfig file.
- Shut down the database server.
- Reinitialize the database server by running the oninit -i command.
- Move the administrative files into the database server
directory. If the administrative files are unavailable, copy them from the last backup into the database server directory.
- Perform a restore by running the onbar -r -p -w command.
Do not salvage the logical logs.
- Verify that you restored the correct instance of the critical and noncritical storage spaces.