Shell And Batch Scripts - Netscape DIRECTORY SERVER 6.0 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.0:
Table of Contents

Advertisement

Shell and Batch Scripts

Table 8-2
Commonly Used Command-Line Perl Scripts
Command Line Perl script
bak2db.pl
db2bak.pl
db2index.pl
db2ldif.pl
ldif2db.pl
migrateInstance5
ns-accountstatus.pl
ns-activate.pl
ns-inactivate.pl
Shell and Batch Scripts
Some of the Shell and Batch scripts can be executed while the server is running. For
others, the server must be stopped. The description of each script below indicates
whether the server must be stopped, or if it can continue to run while you execute
the script.
222
Netscape Directory Server Configuration, Command, and File Reference • December 2001
Description
Restores the database from the most recent archived backup.
Located in: /usr/netscape/servers/slapd-serverID
Creates a backup of the current database contents
Located in: /usr/netscape/servers/slapd-serverID
Creates and regenerates indexes.
Located in: /usr/netscape/servers/slapd-serverID
Exports the contents of the database to LDIF
Located in: /usr/netscape/servers/slapd-serverID
Imports LDIF files to database.
Runs the slapd (Windows NT) 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.
Located in: /usr/netscape/servers/slapd-serverID
Migrates a 4.x version of the Directory Server to the 5.0 version, converting the
configuration files to LDIF format.
Located in: /usr/netscape/servers/bin/slapd/admin/bin
Provides account status information to establish whether an entry or group of
entries is locked or not.
Located in: /usr/netscape/servers/slapd-serverID
Activates an entry or a group of entries by unlocking it (them).
Located in: /usr/netscape/servers/slapd-serverID
Inactivates an entry or a group of entries.
Located in: /usr/netscape/servers/slapd-serverID

Advertisement

Table of Contents
loading

Table of Contents