Previous Topic: DXdisp Tool—Clear or List the Update Time for Multiwrite-DISP Replications

Next Topic: DXemptydb Tool—Delete All Data from a Datastore

DXdumpdb Tool-

Use the DXdumpdb tool to export data from a datastore to an LDIF file.

Note: For a list of the status codes returned by all the DXtools commands, including this command, see Exit Status Codes for the DXtools.

This command has the following format:

dxdumpdb options DSA
options

Denotes one or more of the following options:

-f filename

Specifies the file to receive the exported data. If this option is not specified, the output goes to standard output or the screen.

-i

Specifies to include listed attributes.

-v

Runs in verbose mode.This option switches on error and status tracing. For the -v option to work, you must also specify the -f option.

-x

Specifies to exclude listed attributes.

Note: You should not exclude attributes that form part of the DN.

-z

Specifies that DXdumpdb dumps from the copy of the datastore that is produced by the console command dump dxgrid-db.

DSA

Defines the DSA. DXdumpdb looks in the configuration files of this DSA to find the datastore to export to an LDIF file.

Example: Extract Democorp Data to Screen

The following example prints the LDIF format data from the datastore of the democorp DSA to the screen:

dxdumpdb democorp