


When installing the serverdb from an existing data backup, it must be ensured that the space requirements of the data have been determined beforehand (e.g. by using the "select maxdatapno from SERVERDBSTATISTICS" issued in xquery or another tool). the space required must be ensured by the configuration of the sizes of the data devspaces.
There are two ways to install a database from an existing data backup:
| 1. | Using the Configuration and the Data of the Backup |
| By clicking on the ReadConf button in one of the Installation Screens and the Restore button in the Start Screen. In this case, the configuration parameters can be modified, if required. | |
| 2. | Using the Data only (not the Configuration) of the Backup. |
| By clicking on the Restore button in the Start Screen. |
Using the Configuration of the Data Backup
First, the procedure is identical to that of installing a new serverdb. CONTROL is called with the new serverdb name, and the user specifications are entered in the Installation Screen 1. After entering the kernel parameters in the Screens 2 and 3, the Restore button which is only displayed in Screen 3 must be pressed.

Fig.: Installation Screen 3
A Status Screen appears displaying the saving of the kernel parameters and the start of the serverdb.

Fig.: Status Screen for Init Config Restore
If the serverdb was started successfully and is in COLD mode, the Media Manager is displayed to define the medium containing the data backup (see Section Backup / Media Manager ).
After selecting the defined medium, the configuration is read from the backup and displayed. Then the configuration can be modified. After confirming the configuration, it is accepted, and the data is restored from the backup. If the backup is read from a pipe, ensure that after restarting the serverdb, the pipe is restarted.
The following procedure corresponds to that of Alter Config Restore. For Alter Config Restore, the configuration of the current database (not that of the saved database) is displayed for change.
Not Using the Configuration of the Data Backup
All Installation Screens must be filled completely. To do so, the required sizes of the saved serverdb configuration must be known. The installation must be executed step by step so that the restore procedure (see Section Stepwise Serverdb Installation) can be performed after the "initialize configuration" step.

Fig.: Start Screen for Init Config Restore
If you click on the Restore button in the Installation Start Screen, you can use a backup of ADABAS version 3.1.2 for installation. When doing so, the media are loaded sequentially which will take more time than the normal parallel restore operation.


