HP-UX Directory Server 8.1 Administrator (766147-001, March 2014)

4 Populating Directory Databases
Databases contain the directory data managed by the HP-UX Directory Server.
Topics include:
“Importing data” (page 148)
“Exporting data” (page 155)
“Backing up and restoring data” (page 160)
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 148) 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 149)
“Initializing a database from the console” (page 150)
“Importing from the command line” (page 152)
CAUTION:
All imported LDIF files must also contain the root suffix.
148 Populating Directory Databases