To populate the new databases requires exporting the contents of database one and
importing it into the new databases one and two.
You can use the Directory Server Console or command-line utilities to export data.
The following sections describe these methods in detail:
•
Exporting Directory Data to LDIF Using the Console
•
Exporting a Single Database to LDIF Using the Console
•
Exporting to LDIF from the Command-Line
The export operations do not export the configuration information (
CAUTION Do not stop the server during an export operation.
Exporting Directory Data to LDIF Using the Console
You can export some or all of your directory data to LDIF, depending upon the
location of the final exported file. When the LDIF file is on the server, you can
export only the data contained by the databases local to the server. If the LDIF file
is remote to the server, you can export all of the databases and database links.
To export directory data to LDIF from the Directory Server Console while the
server is running:
In the Directory Server Console, select the Tasks tab. Scroll to the bottom of the
1.
screen, and click Export Database(s).
To export all of your databases, you can also select the Configuration tab and
select Export from the Console menu.
The Export Database dialog box is displayed.
Enter the full path and filename of the LDIF file in the LDIF File field, or click
2.
Browse to locate the file.
Browse is not enabled if you are running the Console on a remote server. When
the Browse button is not enabled, the file is stored by default in this directory:
serverRoot/slapd-serverID/ldif
If you are running the Console on a machine remote to the server, two radio
3.
buttons are displayed beneath the LDIF file field.
Select "To local machine" to indicate that you are exporting to an LDIF file
H
in the machine from which you run the Console.
cn=config
Chapter 4
Populating Directory Databases
Exporting Data
).
157
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers