Initializing A Database From The Console - Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Importing Data

Initializing a Database From the Console

You can overwrite the existing data in a database. The following section describes
using the console to initialize databases.
You must be logged in as the Directory Manager in order to initialize a database.
This is because you cannot import an LDIF file that contains a root entry unless you
bind to the directory as the Directory Manager (Root DN). Only the Directory
Manager has access to the root entry (for example, the root entry might be
dc=example,dc=com
CAUTION
To initialize a database using the Directory Server Console:
On the Directory Server Console, select the Configuration tab.
1.
Expand the Data tree in the left navigation pane. Expand the suffix of the
2.
database you want to initialize, then click the database itself.
Right-click the database and select Initialize Database.
3.
You can also select Initialize Database from the Object menu.
In the "LDIF file" field, enter the full path to the LDIF file you want to import,
4.
or click Browse to locate it on your machine.
If you are operating the console from a machine local to the file being
5.
imported, skip to step 6. If you are operating the console from a machine
remote to the server containing the LDIF file, select one of the following
options:
From local machine. Indicates that the LDIF file is located on the local
machine.
From server machine. Indicates that the LDIF file is located on a remote server.
By default, the console looks for the file in the following directory:
/usr/netscape/servers/slapd-
Click OK.
6.
140
Netscape Directory Server Administrator's Guide • January 2002
).
When initializing databases from an LDIF file, be careful not to
overwrite the
o=NetscapeRoot
Otherwise, you will delete information that will require the
reinstallation of all of your Netscape servers.
suffix unless you are restoring data.
ServerID
/ldif

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents