Previous Topic: Back Up a Directory to an LDIF File

Next Topic: How to Restore CA Directory Data

DXdumpdb Tool—Export Data from a Datastore to an LDIF File

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.

-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.

-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

Back Up an Online Data Store Dump

Example: Back up an online data store dump

The following example exports an online data store dump to an LDIF file.

dxdumpdb -f eembackup -z iTechPoz-Servern