Table 4.3. hp-ux 11i (ia64), Backup files, Configuration files – Red Hat 8.1 User Manual
Page 154: Database files, Example 4.1. database directory contents, Note
Table 4 .3. HP-UX 11i (IA64 )
File or Directory
Location
Backup files
/var/opt/dirsrv/slapd-instance/bak
Configuration files
/etc/opt/dirsrv/slapd-instance
Database files
/var/opt/dirsrv/slapd-instance/db
Runtime files
/var/opt/dirsrv/instance
LDIF files
/var/opt/dirsrv/slapd-instance/ldif
Log files
/var/opt/log/dirsrv/slapd-instance
Tools
/opt/dirsrv/bin/
/opt/dirsrv/sbin/
Instance directory
/opt/dirsrv/slapd-instance
Libraries
/opt/dirsrv/lib/
4.2. Backup Files
Each Directory Server instance contains the following directory and file for storing backup-related files:
/var/lib/dirsrv/slapd-instance_name/bak — This contains a directory dated with the
instance_name, time and date of the database backup, such as instance_name-
2009_05_02_16_56_05/, which in turn holds the database backup copy.
/etc/dirsrv/slapd-instance_name/dse_original.ldif — This is a backup copy of the
dse.ldif configuration file from the time of installation.
4.3. Configuration Files
Each Directory Server instance stores its configuration files in the
/etc/dirsrv/slapd-instance_name directory. The configuration files in this directory are explained
in
Section 2.1, “Overview of the Directory Server Configuration”
.
4.4. Database Files
Each Directory Server instance contains the /var/lib/dirsrv/slapd-instance_name/db directory
for storing all of the database files. The following is a sample listing of the
/var/lib/dirsrv/slapd-instance_name/db directory contents.
Example 4 .1. Database Directory Contents
__db.001 __db.003 __db.005 NetscapeRoot/
__db.002 __db.004 DBVERSION log.0000000007 userRoot/
db.00x files — Used internally by the database and should not be moved, deleted, or modified in
any way.
log.xxxxxxxxxx files — Used to store the transaction logs per database.
DBVERSION — Used for storing the version of the database.
NetscapeRoot — Stores the o=NetscapeRoot database created by default when the setup-
ds-adm in.pl script is run.
userRoot — Stores the user-defined suffix (user-defined databases) created at setup; for example,
dc=exam ple,dc=com .
NOTE
If a new database is created (for example, testRoot) to store the directory tree under a new
suffix, the directory named testRoot also appears in the
/var/lib/dirsrv/slapd-instance_name/db directory.
The following is a sample listing of the NetscapeRoot directory contents.
154
Chapter 4. Server Instance File Reference