![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 146](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675146.webp)
Importing Data
146
Netscape Directory Server Administrator’s Guide • August 2002
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
).
To initialize a database using the Directory Server Console:
1.
On the Directory Server Console, select the Configuration tab.
2.
Expand the Data tree in the left navigation pane. Expand the suffix of the
database you want to initialize, then click the database itself.
3.
Right-click the database and select Initialize Database.
You can also select Initialize Database from the Object menu.
4.
In the “LDIF file” field, enter the full path to the LDIF file you want to import,
or click Browse to locate it on your machine.
5.
If you are operating the console from a machine local to the file being
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-
serverID
/ldif
6.
Click OK.
CAUTION
When initializing databases from an LDIF file, be careful not to
overwrite the
o=NetscapeRoot
suffix unless you are restoring data.
Otherwise, you will delete information that will require the
reinstallation of all of your Netscape servers.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...