PMDF System Manager's Guide


Previous Contents Index


convertdb-Convert a V6.0-V6.4 PMDF crdb database to a V6.5 or later PMDF crdb database

Convert the contents of a V6.0 to V6.4 PMDF for UNIX crdb database (a Berkeley DB / SleepyCat database) to a V6.5 or later PMDF crdb database (a PBL database).

Syntax

pmdf convertdb input-database-spec output-database-spec

Command Qualifiers Defaults
None. None.

restrictions

This utility will not convert databases from versions of PMDF prior to V6.0. If you are upgrading from V5.2 or earlier, you must first upgrade to a version of PMDF between V6.0 and V6.4 and convert your database to Berkeley DB (SleepyCat) format, and then upgrade to V6.5 or later and convert the Berkeley DB (SleepyCat) formatted databases to PBL. Alternatively, you can rebuild your databases from sources instead of converting them.

The defragment channel database (/pmdf/table/defragment_cache.* ) is not supported for conversion. It does not need to be converted since the defragment channel rebuilds it based on the messages in its queue cache directory the first time the channel runs.


Parameters

input-database-spec

The name of the PMDF database from which to read entries. This must be a Berkeley DB (SleepyCat) formatted database, such as one created by PMDF versions V6.0 through V6.4. Special keywords such as PMDF_ALIAS_DATABASE, PMDF_REVERSE_DATABASE, PMDF_FORWARD_DATABASE, PMDF_GENERAL_DATABASE, PMDF_DOMAIN_DATABASE, and PMDF_PIPE_DATABASE are supported; the use of such a special keyword tells PMDF to convert the database specified by the corresponding PMDF tailor file option.

output-database-spec

The name of the V6.5 or later PMDF database to which to write the entries stored in the input PMDF database. Special keywords such as PMDF_ALIAS_DATABASE, PMDF_REVERSE_DATABASE, PMDF_FORWARD_DATABASE, PMDF_GENERAL_DATABASE, PMDF_DOMAIN_DATABASE, and PMDF_PIPE_DATABASE are supported; the use of such a special keyword tells PMDF to write the database specified by the corresponding PMDF tailor file option.

Description

The format of PMDF crdb databases has changed with PMDF version V6.5. The convertdb utility reads the entries in a V6.0 through V6.4 PMDF crdb database (which is in Berkeley DB / SleepyCat format) and writes out the entries to a current format (PMDF V6.5 or later) PMDF crdb database.


EXAMPLES


# pmdf convertdb PMDF_ALIAS_DATABASE PMDF_ALIAS_DATABASE
      

This example shows converting a PMDF for UNIX alias database to the most current format. The input database would be a PMDF alias database in Berkeley DB (SleepyCat) format, being converted to PMDF V6.5 or later format.


Previous Next Contents Index