Shell And Batch Scripts - Netscape DIRECTORY SERVER 6.02 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 6.02:
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
migrateInstance6
ns-accountstatus.pl
ns-activate.pl
ns-inactivate.pl
Shell and Batch Scripts
This section covers the following scripts:
bak2db (Restore database from backup)
db2bak (Create backup of database)
226
Netscape Directory Server Configuration, Command, and File Reference • May 2002
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) 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 or 6.x 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