This section describes how to convert an existing database from one version to another.
The sections below describe a conversion of databases without the security feature:
When the Adabas role-based security feature is enabled, you should proceed with the steps described in the section Converting Databases with Adabas Role-based Security.
Software AG strongly recommends the following steps when converting a database:
Create a backup of your existing database. Use the old version of ADABCK to backup the whole database.
Modify the security configuration files.
Convert the version of the database by performing the steps described below.
Validate the consistency of the database. Use the FIELD and INDEX functions of the ADAVFY utility to validate the consistency of the database.
The following settings in the security configuration file adaauth.ini are mandatory:
ACTION= YES MODE=ADABAS
Please refer to the section Configuration of Adabas Role-Based Security for further information on the file location and content.
If you want to upgrade a database from Version 6.1, 6.2, 6.3, 6.4, 6.5 or 6.6 to Version 6.7, there are two options available to you:
Convert the data using either the utility ADABCK or ADAORD. This option requires that you
Create a new Version 6.7 database;
Unload the old database using ADABCK DUMP or ADAORD EXPORT with the utilities supplied for the old database version;
Load the new database using ADABCK RESTORE or ADAORD IMPORT with version 6.7 utili-ties.
Convert the data using the utility ADACVT of version 6.7. This utility converts an existing database in place.
If you want to convert a database from Version 3 or Version 5, you must first upgrade the database to any of the versions Version 6.1 through 6.6, as described in the Release Notes of the version-specific documentation, and then proceed as described above.
Use the utility ADACVT to convert a database to a previous version. ADACVT converts the database in place to the selected target version (Version 6.3 through Version 6.6). A downgrade is not possible if features introduced with Version 6.7 were used. Furthermore, a downgrade to Version 6.5 or below will be rejected if features introduced with Version 6.6 had been used.
It is also possible to convert a Version 6.7 database back to Version 6.6, Version 6.5, Version 6.4 or Version 6.3 using the utility ADABCK. This is done by restoring a backup made with ADABCK Version 6.7 with the utility ADABCK of the respective target version. Unless the database is restored from scratch, ADABCK's version and the version of target database must coincide. However, this method is not applicable if features introduced with Version 6.7 were used. On a conversion back to Version 6.5 or below, features introduced with Version 6.6 must not have been used.
Collation descriptors created with ICU Version 5.4 are not processed correctly with Adabas Versions 6.3 to 6.4. Therefore, after the conversion to the target version with ADACVT/ADABCK, it is necessary to perform an ADAINV REINVERT of the collation descriptors with the ADAINV of the target version.
Without the REINVERT, you get unexpected errors or incorrect results when you try to access the collation descriptors.
The following settings in the security configuration file adaauth.ini are mandatory:
ACTION= YES MODE=ADABAS
Please refer to the section Configuration of Adabas Role-Based Security for further information on the file location and content.
This section describes how to convert a database when the Adabas role-based security feature is enabled:
Authentication for Adabas
Authorization for Adabas
The procedure to convert a database with Adabas role-based security is:
Create a backup of your existing database, as described above;
Modify the security configuration files;
Create a backup of your existing security definitions;
Convert the database using ADACVT;
Load your security definitions;
Validate the consistency of the database, as described above.
The following settings in the security configuration file adaauth.ini are mandatory:
ACTION= YES MODE=ADABAS
Please refer to the section Configuration of Adabas Role-Based Security for further information on the file location and content.
When the Authentication feature is enabled for your database, please contact your nearest Adabas support center for a detailed description on how to proceed.
Perform the following steps, when the Authorization for Adabas Utilities feature is enabled: for your database:
Save the security definitions that are stored in the security configuration file adarbac.ini;
Use ADADBM RBAC_FILE to load the RBAC system file;
Use ADACVT to convert the database;
Use ADARBA to define your site-specific security definitions that are defined in the file adarbac.ini.
Save the security definitions that are stored in the RBAC system file;
Use ADACVT to convert the database;
Use ADARBA to define your site-specific security definitions.
The location and layout of the audit trail log file created by Authentication has been modified, please refer to the section Audit of the document Adabas Role-based Security.