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

4 Populating Directory Databases
Databases contain the directory data managed by the HP-UX Directory Server.
Topics include:
“Importing data” (page 147)
“Exporting data” (page 154)
“Backing up and restoring data” (page 159)
4.1 Importing data
Directory Server provides three methods for importing data:
Import from the Directory Server Console
Use the Directory Server Console to append data to all the databases, including database
links.
Initialize databases
The Directory Server Console can import data to one database; this method overwrites any
data contained by the database.
Importing data from the command line
Directory Server provides command line utilities to import data.
NOTE:
The LDIF files used for import operations must use UTF-8 character set encoding. Import operations
do not convert data from local character set encoding to UTF-8 character set encoding.
Table 16 (page 147) describes the differences between an import and initializing databases.
Table 16 Import method comparison
Initialize databaseImportAction
YesNoOverwrites database
Add onlyAdd, modify, deleteLDAP operations
FastMore time-consumingPerformance
Local partitions onlyWorks on all partitionsPartition speciality
Atomic (all changes are lost after a
failure)
Best effort (all changes made up to the point of
the failure remain)
Response to server failure
Local to Console or local to serverLocal to ConsoleLDIF file location
NoYesImports configuration
information (cn=config)
The following sections describe importing data:
“Importing a database from the console” (page 148)
“Initializing a database from the console” (page 149)
“Importing from the command line” (page 151)
CAUTION:
All imported LDIF files must also contain the root suffix.
4.1 Importing data 147