Netscape DIRECTORY SERVER 6.0 Configuration Manual page 246

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.0:
Table of Contents

Advertisement

ns-slapd and slapd.exe Command-Line Utilities for Exporting Databases
-N
-r
-s
-u
-U
-x
-n
246
Netscape Directory Server Configuration, Command, and File Reference • December 2001
Specifies that entry IDs are not to be included in the LDIF output. The
entry IDs are necessary only if the db2ldif output is to be used as input
to db2index.
Causes the server to include the copiedFrom attribute and its contents in
the LDIF output when importing the LDIF file to a consumer server. This
information is required by the server by the replication process.
Note that if you use the -r option, you also need to specify the suffix you
want to export by using the -s option. You must shut down the server
before exporting using this option.
Specifies the suffix or suffixes to include in the export. You may use
multiple -s arguments. If you do not specify -s or -x, the server exports
all suffixes within the database. If you use both -x and -s arguments with
the same suffix, the -x operation takes precedence. Exclusion always takes
precedence over inclusion.
Note if you exclude one or more suffixes from the exported LDIF file, and
you intend to import the LDIF file into your configuration directory, do not
exclude o=NetscapeRoot. If you use -s to specify a suffix to include, and
you intend to import the LDIF file into your configuration directory, make
sure that you also use -s to include o=NetscapeRoot.
Specifies that the uniqueID will not be included in the LDIF output. By
default, the server includes the uniqueID for all entries with a uniqueID in
the exported LDIF file.
Use this option if you intend to use the exported LDIF to initialize a 4.x
consumer server. However, do not use this option when you are importing
into a 5.0 consumer, as it does not cause the server to create a uniqueID for
entries but simply takes what already exists in the database.
Outputs the contents of the database without wrapping lines.
Specifies a suffix or suffixes to exclude in the export. You may use multiple
-x arguments. If you do not specify -s or -x, the server exports all suffixes
within the database. If you use both -x and -s options with the same
suffix, the -x operation takes precedence. Exclusion always takes precedence
over inclusion. If you intend to import the LDIF file into your configuration
directory, do not exclude o=NetscapeRoot.
Specifies the name of the backend instance to be exported.

Advertisement

Table of Contents
loading

Table of Contents