PMDF System Manager's Guide


Previous Contents Index


convertdb

Convert the contents of a V5.2 or earlier PMDF for UNIX crdb database to a V6.0 or later PMDF crdb database.

Syntax

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

Command Qualifiers Defaults
None. None.

restrictions

This utility is not available on NT.

Parameters

input-database-spec

The name of the PMDF database (usually one created while running an earlier version of PMDF) from which to read entries. 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.0 or later PMDF database to which to write the entries stored in the input PMDF database (usually a PMDF V5.2 or earlier 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 versions. The convertdb utility reads the entries in a V5.2 or earlier PMDF crdb database and writes out the entries to a current format (PMDF V6.0 or later) PMDF crdb database.

The convertdb utility can also read a PMDF V6.0 or later database as input. Since the utility will output a new database using the currently set database hash size, as specified by the PMDF_DB_HASH_SIZE PMDF tailor file option, it can also be used to update a database's hash size.


EXAMPLES


# pmdf convertdb PMDF_ALIAS_DATABASE PMDF_ALIAS_DATABASE
      

This example shows converting a PMDF for UNIX alias database to the most current format. For instance, the input database might be a V5.2 PMDF alias database being converted to PMDF V6.0 format.


Previous Next Contents Index