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

4.3.3 Restoring all databases
The following procedures describe restoring all the databases in the directory using the Directory
Server Console and from the command line.
NOTE:
While restoring databases, the server must be running. However, the databases will be unavailable
for processing operations during the restore.
4.3.3.1 Restoring all databases from the console
If the databases become corrupted, restore data from a previously generated backup using the
Directory Server Console. This process consists of stopping the server, then copying the databases
and associated index files from the backup location to the database directory.
CAUTION:
Restoring databases overwrites any existing database files.
To restore databases from a previously created backup:
1. In the Directory Server Console, select the Tasks tab.
2. Click Restore Directory Server.
3. Select the backup from the Available Backups list, or enter the full path to a valid backup in
the Directory text box.
The Available Backups list shows all backups located in the default directory,
/var/opt/dirsrv/slapd-instance_name/bak/backup_directory. The
backup_directory is the directory of the most recent backup, in the form
instance_name-YYYY_MM_DD_hhmmss.
162 Populating Directory Databases