HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

“Restoring all databases” (page 162)
“Restoring a single database” (page 164)
“Restoring databases that include replicated entries” (page 164)
“Restoring the dse.ldif configuration file” (page 165)
CAUTION:
Do not stop the server during a backup or restore operation.
4.3.1 Backing up all databases
The following procedures describe backing up all the databases in the directory using the Directory
Server Console and from the command line.
NOTE:
These backup methods cannot be used to back up the data contained by databases on a remote
server that are chained using database links.
4.3.1.1 Backing up all databases from the Console
When backing up databases from the Directory Server Console, the server copies all the database
contents and associated index files to a backup location. A backup can be performed while the
server is running.
To back up databases from the Directory Server Console:
1. Select the Tasks tab.
2. Click Back Up Directory Server.
3. Enter the full path of the directory to store the backup file in the Directory text box, or click
Use default, and the server provides a name for the backup directory.
If the Console is running on the same machine as the directory, click Browse to select a local
directory.
With the default location, the backup files are placed in
/var/opt/dirsrv/slapd-instance_name/bak. (For a list of Directory Server file
locations, see “Directory Server file Locations” (page 18).) By default, the backup directory
name contains the name of the server instance and the time and date the backup was created
(instance_name-YYYY_MM_DD_hh_mm_ss).
160 Populating Directory Databases