Table 8-1
Commonly Used Command-Line Shell and Batch Scripts (Continued)
Command-Line Script
ldif2db
ldif2ldap
monitor
restart-slapd
restoreconfig
saveconfig
start-slapd
stop-slapd
suffix2instance
vlvindex
Table 8-2
Commonly Used Command-Line Perl Scripts
Command-Line Perl Script
bak2db.pl
db2bak.pl
db2index.pl
db2ldif.pl
Description
Imports LDIF files to the database.
Runs the slapd (Windows) or ns-slapd (Unix)
command-line utility with the ldif2db keyword.
By default, the script first saves and then merges
any existing configuration tree (o=NetscapeRoot)
with any files to be imported.
Performs an import operation over LDAP to the
Directory Server.
Retrieves performance monitoring information
using the ldapsearch command-line utility.
Restarts Directory Server.
Restores by default the most recently saved
Administration Server configuration to
NetscapeRoot partition.
Saves Administration Server configuration stored
in the NetscapeRoot partition to the
serverRoot/slapd-serverID/confbak directory.
Starts Directory Server.
Stops Directory Server.
Maps a suffix to a backend name.
Creates and generates virtual list view (VLV)
indexes.
Description
Restores the database from the most recent archived
backup.
Creates a backup of the current database contents.
Creates and regenerates indexes.
Exports the contents of the database to LDIF.
Command-Line Scripts Quick Reference
Location
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
Location
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
serverRoot/slapd-serverID
Chapter 8
Command-Line Scripts
249
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 and is the answer not in the manual?
Questions and answers