File name of the output LDIF file.
-a
Suffix(es) to be included or to specify the subtree(s) to be included if -n has
-s
been used.
Suffix(es) to be excluded.
-x
Minimal base64 encoding.
-m
Output LDIF to be stored in one file by default with each instance stored in
-o
instance_file name.
Export replica.
-r
Request that the unique id is not exported.
-u
Only the main db file is used.
-C
Suppress printing sequential number.
-N
Request that the output LDIF is not folded.
-U
Verbose mode.
-v
Delete, for reasons of backward compatibility the first line of the LDIF file that
-1
gives the version of the LDIF standard.
-M
Output LDIF is stored in multiple files.
ldif2db.pl (Import)
To run this Perl script the server must be running. This script creates an entry in the
directory that launches this dynamic task. The entry is generated based upon the
values you provide for each option.
Syntax
Perl script (Both)
Options
User DN with root permissions, such as Directory Manager.
-D
Password associated with the user DN.
-w
Instance to be imported.
-n
ldif2db.pl [-v] -D rootdn -w password -n backend_instance | {-s
includesuffix}* [{-x excludesuffix}*] [-O] [-c] [-g string] [-G
namespace_id] {-i file name}*
Chapter 8
Command-Line Scripts
Perl Scripts
237
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 and is the answer not in the manual?
Questions and answers