Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Option Description
-m Sets minimal base-64 encoding.
-M Sets the output LDIF is stored in multiple files.
-n backendInstance Gives the instance to be exported.
-N Suppresses printing sequential numbers.
-o Sets the output LDIF to be stored in one file
by default with each instance stored in
instance_filename.
-r Exports a replica.
-s includeSuffix
-u Requests that the unique ID is not exported.
-U Requests that the output LDIF is not folded.
-v Verbose mode.
-w password Gives the password associated with the user
DN.
-x excludeSuffix Gives suffixes to be excluded.
Table 7.22. db2ldif.pl Options
4.6. ldif2db.pl (Import)
To run this script, the server must be running. The 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.
ldif2db.pl [ -v ] -D rootdn -w password [ -n backendInstance | -s includeSuffix ] -x
excludeSuffix [ -O ] [ -c ] [ -g string ] [ -G namespaceId ] -i filename
Options.
Option Description
-c Merges chunk size.
-D rootdn Specifies the user DN with root permissions,
such as Directory Manager.
-g string
Generates a unique ID. Type none for no
unique ID to be generated and
deterministic for the generated unique ID
Chapter 7. Command-Line Scripts
264