HP-UX Directory Server 8.1 configuration, command, and file reference
vlvindex [ -d debugLevel] [[ -n backendInstance] | [ -s suffix]] [ -T vlvTag]
Options Either the -n or the -s option must be specified.
Table 7-17 vlvindex options
DescriptionOption
Specifies the debug level to use during index creation. Debug levels are defined in
“nsslapd-errorlog-level (Error log level)”
-d debugLevel
Gives the name of the database containing the entries to index.
-n backendInstance
Gives the name of the suffix containing the entries to index.
-s suffix
VLV index identifier to use to create VLV indexes. The Console can specify VLV index
identifier for each database supporting the directory tree, as described in the HP-UX Directory
Server administrator guide. Define additional VLV tags by creating them in LDIF and adding
them to Directory Server's configuration, as described in the HP-UX Directory Server
administrator guide. HP recommends using the DN of the entry for which to accelerate the
search sorting.
-T vlvTag
7.4 Perl scripts
This section describes the following Perl scripts:
• “bak2db.pl (Restores a database from backup)”
• “cl-dump.pl (Dumps and decodes the changelog)”
• “db2bak.pl (Creates a backup of a database)”
• “db2index.pl (Creates and generates indexes)”
• “db2ldif.pl (Exports database contents to LDIF)”
• “fixup-memberof.pl (Regenerate memberOf attributes)”
• “ldif2db.pl (Import)”
• “logconv.pl (Log converter)”
• “ns-accountstatus.pl (Establishes account status)”
• “ns-activate.pl (Activates an entry or group of entries)”
• “ns-inactivate.pl (Inactivates an entry or group of entries)”
• “ns-newpwpolicy.pl (Adds attributes for fine-grained password policy)”
• “repl-monitor.pl (Monitors replication status)”
• “schema-reload.pl (Reload schema files dynamically)”
• “verify-db.pl (Check for corrupt databases)”
7.4.1 bak2db.pl (Restores a database from backup)
Restores a database from a backup.
Syntax
bak2db.pl [ -v ] -D rootdn { -w password | -w - | -j filename } -a backupDirectory [ -t
databaseType ] [-n backend]
Options The bak2db.pl script creates an entry in the directory that launches this dynamic
task. The entry is generated based upon the values provided for each option.
Table 7-18 bak2db.pl options
DescriptionOption
The directory of the backup files.
-a backupDirectory
Gives 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.
-D rootdn
226 Command-line scripts