PMDF System Manager's Guide


Previous Contents Index


dumpdb

Dump contents of a PMDF crdb database to a file.

Syntax

pmdf dumpdb input-database-spec [output-file-spec]

Command Qualifiers Defaults
None. None.

restrictions

None.

Parameters

input-database-spec

The name of the database from which to read entries. PMDF by default will looks for a current format database of the given name; if none such exists, PMDF will look for an old format database of the given name. Special keywords such as PMDF_ALIAS_DATABASE, PMDF_REVERSE_DATABASE, PMDF_FORWARD_DATABASE, PMDF_GENERAL_DATABASE, PMDF_DOMAIN_DATABASE, and PMDF_PIPE_DATABASE (the symbolic names for PMDF databases) are supported; the use of such a special keyword tells PMDF to dump the database specified by the corresponding PMDF tailor file option.

output-file-spec

The name of the ASCII file to which to write the entries stored in the database. If no output file is specified, the output is written to stdout.

Description

The dumpdb utility writes the entries in a PMDF crdb database to a flat ASCII file. In particular, this utility may be used to write the contents of an old style database (PMDF V5.2 or earlier) to a file from which a new style database (PMDF V6.0 or later) may be built using the pmdf crdb utility.


EXAMPLES

The following commands may be used to dump the contents of an alias database to a file, and then to recreate the alias database from that file:


# pmdf dumpdb PMDF_ALIAS_DATABASE alias.tmp
# pmdf crdb alias.tmp PMDF_ALIAS_DATABASE


Previous Next Contents Index