Show Table of Contents
Chapter 9. Command-Line Scripts
This chapter provides information on the scripts for managing Red Hat Directory Server, such as backing-up and restoring the 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.
9.1. Finding and Executing Command-Line Scripts
Most Directory Server-specific scripts are located in the
/usr/lib64/dirsrv/slapd-instance/slapd-instance_name on Red Hat Enterprise Linux 5 (64-bit) directory (or /usr/lib/dirsrv/slapd-instance_name on Red Hat Enterprise Linux 5 (32-bit)). A few are located in the /usr/bin directory. The exact locations are listed in Section 9.2, “Command-Line Scripts Quick Reference”.
When scripts request either a directory name or a filename, always provide the absolute path. The scripts assume the
dse.ldif file is located in the /etc/dirsrv/slapd-instance_name directory.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.