Red Hat 8.1 사용자 설명서
Chapter 7. Command-Line Scripts
286
Options
Option
Parameter
Description
-f
Forces the removal of the
instance. This can be useful if
the instance is not running but
must be removed anyway.
instance. This can be useful if
the instance is not running but
must be removed anyway.
-s
instance_name
The name of the instance to
remove.
remove.
-w
manager_password
The Directory Manager
password to use to bind to the
instance.
password to use to bind to the
instance.
7.3.8. ldif2db (Import)
Runs the ns-slapd command-line utility with the ldif2db keyword. To run this script, the server
must be stopped. Ellipses indicate that multiple occurrences are allowed.
must be stopped. Ellipses indicate that multiple occurrences are allowed.
For information on the equivalent Perl script, see
.
NOTE
ldif2db
supports LDIF version 1 specifications. An attribute can also be loaded
using the :< URL specifier notation; for example:
jpegphoto:< file:///tmp/myphoto.jpg
Although the official notation requires three ///, the use of one / is accepted. For
further information on the LDIF format, see the "Managing Directory Entries" chapter
in the Red Hat Directory Server Administrator's Guide.
further information on the LDIF format, see the "Managing Directory Entries" chapter
in the Red Hat Directory Server Administrator's Guide.
Syntax
ldif2db
[[ -n backendInstance ] | [ [ -s includeSuffix ] ...]] [ -x excludeSuffix ] [ [ -i
ldifFile
] ] [ -O ] [ -g string ] [ -G namespaceId ] [ -E ]
Options
Option
Description
-c
Merges chunk size.
-E
Encrypts data during import. This option is used
only if database encryption is enabled.
only if database encryption is enabled.
-g string
Generates a unique ID. Type none for no unique
ID to be generated and deterministic for the
generated unique ID to be name-based.
ID to be generated and deterministic for the
generated unique ID to be name-based.