This chapter provides information on the scripts you can use to manage your
directory, for example, backing up and restoring your database. Scripts are a
shortcut way of executing the
in Appendix A, "Using the ns-slapd and slapd.exe Command-Line Utilities."
This chapter contains the following sections:
•
Finding and Executing Command-Line Scripts (page 223)
•
Command-Line Scripts Quick Reference (page 224)
•
Shell and Batch Scripts (page 226)
•
Perl Scripts (page 239)
Finding and Executing Command-Line Scripts
By default all scripts are stored in the following directory:
/usr/netscape/servers/slapd-serverID
Be sure to refer to "Command-Line Scripts Quick Reference," on page 224 for the
exact location of each script.
When scripts request either a directory name or a file name, always provide the
absolute path. The scripts assume that you want to use the
this directory:
/usr/netscape/servers/slapd-serverID/config
Command-Line Scripts
interface commands that are documented
ns-slapd
Chapter 8
file located in
dse.ldif
223