![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 147](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675147.webp)
Importing Data
Chapter
4
Populating Directory Databases
147
Importing From the Command Line
You can use three methods for importing data through the command line:
•
Using
ldif2db
—This import method overwrites the contents of your database
and requires the server to be stopped.
•
Using
ldif2db.pl
—This import method overwrites the contents of your
database while the server is still running.
•
Using
ldif2ldap
—This method appends your LDIF file through LDAP. You
can use this method to append data to all of your databases.
Importing Using the ldif2db Command-Line Script
The
ldif2db
script overwrites the data in a database you specify. The script
requires you to shut down the server before proceeding with the import.
By default, the script first saves and then merges any existing
o=NetscapeRoot
configuration information with the
o=NetscapeRoot
configuration information in
the files being imported.
To import LDIF with the server stopped:
1.
From the command line, change to the following directory:
serverRoot
/slapd-
serverID
/
2.
Stop the server by typing the following:
./stop-slapd
3.
Run the
ldif2db
command-line script.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Two examples of performing an import using
ldif2db
follow:
CAUTION
This script overwrites the data in your database.
CAUTION
If you a specify a database in the
-n
option that does not correspond
with the suffix contained by the LDIF file, all of the data contained
by the database is deleted and the import fails. Make sure that you
do not misspell the database name.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...