15.4.2 Recovering the server directory
If a problem occurs on a disk so that it is necessary to recover the server directory, recover the server directory by re-installing the HADB server.
Note that the server directory can be restored to the status it was in before the problem occurred only if the following conditions are satisfied:
-
A problem such as a disk error has not occurred in the HADB server's DB directory.
-
All files stored under the server directory (in $ADBDIR/conf and $ADBDIR/sample) have been backed up.
-
If users have created files under the server directory ($ADBDIR), those files have been backed up.
- To recover the server directory:
-
-
Re-install the HADB server.
Rebuild the server directory by re-installing the HADB server. For details about how to install the HADB server, see 8.2.2 Installation procedure.
-
Recover the definition files and sample application program from the backup.
From the backup, restore all files that were stored in the server directory (in $ADBDIR/conf and $ADBDIR/sample).
-
Recover the files that were created by the user from the backup.
If users have created files in the server directory ($ADBDIR), restore those files from the backup.
-
Restart the HADB server.
Execute the adbstart command. The HADB server is restarted.
-