HP-UX Directory Server 8.1 administrator guide
4 Populating directory databases
Databases contain the directory data managed by the HP-UX Directory Server.
Topics include:
• “Importing data” (page 145)
• “Exporting data” (page 152)
• “Backing up and restoring data” (page 157)
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 4-1 “Import method comparison” describes the differences between an import and
initializing databases.
Table 4-1 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)
4.1 Importing data 145