Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Option Description
this option does not cause the server to
create a uniqueID for entries but simply takes
what already exists in the database.
-U Outputs the contents of the database without
wrapping lines.
-x excludeSuffix Specifies a suffix or suffixes to exclude in the
export. There can be multiple -x arguments. If
neither -s or -x is not specified, the server
exports all suffixes within the database. When
using both -x and -s options with the same
suffix, the -x operation takes precedence.
Exclusion always takes precedence over
inclusion. If the LDIF file will be imported into
the configuration directory, do not exclude
o=NetscapeRoot.
Table A.1. db2ldif Options
4. Utilities for Restoring and Backing up Databases:
ldif2db
Imports LDIF files to the database.
Syntax.
ns-slapd ldif2db -D configDir -i ldifFile [ -d debugLevel ] [ -g string ] [ -n
backendInstance ] [ -O ] [ -s includeSuffix ] [ -x excludeSuffix ] [ -E ]
Enter the full path to the server configuration directory (configdir). ldifFile is the name of the file
containing the LDIF to be imported. There is an example LDIF file under the
/var/lib/dirsrv/slapd-instance_name/ldif directory. Either the -n or the -s option must
be specified.
Options.
Option Description
-d debugLevel Specifies the debug level to use during
runtime. For further information, refer to
Section 3.1.42, “nsslapd-errorlog-level (Error
Log Level)”.
-D configDir Specifies the location of the server
Utilities for Restoring and Backing up
279