This chapter provides information on the scripts you can use to manage your
directory, such as backing-up and restoring your database. Scripts are a shortcut
way of executing the
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 247)
•
Command-Line Scripts Quick Reference (page 248)
•
Shell and Batch Scripts (page 250)
•
Perl Scripts (page 264)
Finding and Executing Command-Line Scripts
By default all scripts are stored in the following directory:
serverRoot/slapd-serverID
Be sure to refer to "Command-Line Scripts Quick Reference," on page 248, 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:
serverRoot/slapd-serverID/config
Command-Line Scripts
interface commands that are documented in
ns-slapd
Finding and Executing Command-Line Scripts
Chapter 8
file located in
dse.ldif
Chapter 8
Command-Line Scripts
247