Previous | Contents | Index |
Convert the contents of a V6.0 to V6.4 PMDF for UNIXcrdb
database (a Berkeley DB / SleepyCat database) to a V6.5 or later PMDFcrdb
database (a PBL database).
pmdf convertdb input-database-spec output-database-spec
Command Qualifiers Defaults None. None.
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 thedefragment
channel rebuilds it based on the messages in its queue cache directory the first time the channel runs.
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.
The format of PMDF
crdb
databases has changed with PMDF version V6.5. Theconvertdb
utility reads the entries in a V6.0 through V6.4 PMDFcrdb
database (which is in Berkeley DB / SleepyCat format) and writes out the entries to a current format (PMDF V6.5 or later) PMDFcrdb
database.
# 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 |