Chapter 7. Command-Line Scripts
Option
-T vlvAttributeName
-v
-w password
-w -
Table 7.21. db2index.pl Options
7.4.5. db2ldif.pl (Exports Database Contents to LDIF)
Exports the contents of the database to LDIF. This script creates an entry in the directory that launches
this dynamic task. The entry is generated based upon the values provided for each option. Ellipses
indicate that multiple occurrences are allowed.
Syntax
db2ldif.pl [ -v ] -D rootdn { -w password | -w - | -j filename } { -n backendInstance | -s
includeSuffix ... } [ -x excludeSuffix ... ] [ -a outputFile ] [ -N ] [ -r ] [ -C ] [ -u ] [ -U ] [ -m ] [ -
E ] [ -1 ] [ M ]
Options
To run this script, the server must be running, and either the -n or -s option is required.
Option
-1
-a outputFile
-C
-D rootdn
-E
-j filename
-m
-M
-n backendInstance
-N
-r
296
Description
Gives the names of the VLV attributes to be
reindexed. The name is the VLV index object's
common name in cn=config.
Verbose mode.
Gives the password associated with the user DN.
Prompts for the password associated with the
user DN.
Description
Deletes, for reasons of backward compatibility,
the first line of the LDIF file that gives the version
of the LDIF standard.
Gives the filename of the output LDIF file.
Uses only the main database file.
Gives the user DN with root permissions, such
as Directory Manager.
Decrypts encrypted data during export. This
option is used only if database encryption is
enabled.
The name of the file containing the password.
Sets minimal base-64 encoding.
Uses multiple files for storing the output LDIF,
with each instance stored in instance filename
(where filename is the filename specified for -a
option).
Gives the instance to be exported.
Suppresses printing sequential numbers.
Exports the information required to initialize a
replica when the LDIF is imported.
Need help?
Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?
Questions and answers