Option
-a dirName
-D rootdn
-j filename
-t
-v
-w password
-w -
Table 7.20. db2bak.pl Options
7.4.4. db2index.pl (Creates and Generates Indexes)
Creates and generates the new set of indexes to be maintained following the modification of indexing
entries in the cn=config configuration file.
Syntax
db2index.pl [ -v ] -D rootdn { -w password | -w - | -j filename } -n backendInstance [ -t
attributeName(:indextypes(:mathingrules)) ] [ -T vlvAttributeName ]
Options
The script db2index.pl creates an entry in the directory that launches this dynamic task. The entry
is generated based upon the values provided for each option.
Option
-D rootdn
-j filename
-n backendInstance
-t attributeName{:indextypes(:mathingrules)}
db2index.pl (Creates and Generates Indexes)
Description
The directory where the backup files will
be stored. The /var/lib/dirsrv/
slapd-instance_name/bak directory is
used by default. The backup file is named
according to the year-month-day-hour format
(YYYY_MM_DD_hhmmss).
The user DN with root permissions, such as
Directory Manager. The default is the DN of
the Directory Manager, which is read from the
nsslapd-root attribute under cn=config.
The name of the file containing the password.
The database type. Currently, the only possible
database type is ldbm.
Verbose mode.
The password associated with the user DN.
Prompts for the password associated with the
user DN.
Description
Gives the user DN with root permissions, such
as Directory Manager.
The name of the file containing the password.
Gives the instance to be indexed. If the
instance is not specified, the script reindexes all
instances.
Gives the name of the attribute to be indexed. If
omitted, all the indexes defined for the specified
instance are generated. Optionally, this can
include the index type (eq, pres, sub, approx)
and a matching rule OID.
295
Need help?
Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?
Questions and answers