Finding and Executing Command-Line Scripts
Chapter 8 Command-Line Scripts 255
Chapter 8
Command-Line Scripts
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
ns-slapd
interface commands that are documented in
Appendix A, “Using the ns-slapd Command-Line Utilities.”
This chapter contains the following sections:
• Finding and Executing Command-Line Scripts (page 255)
• Command-Line Scripts Quick Reference (page 256)
• Shell Scripts (page 258)
• Perl Scripts (page 272)
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 256, for the
exact location of each script.
When scripts request either a directory name or a filename, always provide the
absolute path. The scripts assume that you want to use the
dse.ldif
file located in
this directory:
serverRoot/slapd-serverID/config