![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 153](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675153.webp)
Exporting Data
Chapter
4
Populating Directory Databases
153
2.
Expand the Data tree in the left navigation pane. Expand the suffix maintained
by the database you want to export. Select the database under the suffix that
you want to export.
3.
Right-click the database and select Export Database.
You can also select Export Database from the Object menu.
The Export Partition dialog box is displayed.
4.
In the “LDIF file” field, enter the full path to the LDIF file, or click Browse to
locate it on your machine.
When the Browse button is not enabled, by default the file is stored in the
serverRoot
/slapd-
serverID
/ldif
directory.
5.
Click OK to export the file.
Exporting to LDIF From the Command Line
You can export your database to LDIF using the
db2ldif
command-line script.
This script exports all of your database contents or a part of their contents to LDIF
when the server is running or stopped.
To export to LDIF from the command line:
1.
From the command line, change to the following directory:
serverRoot
/slapd-
serverID
/
2.
Run the
db2ldif
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
db2bak
follow:
Windows batch file:
db2ldif -n database1 -a output.ldif -s "dc=example,dc=com" -s
"o=NetscapeRoot"
UNIX shell script:
db2ldif -n database1 -a output.ldif -s "dc=example,dc=com" -s
"o=NetscapeRoot"
The following table describes the
db2ldif
options used in the examples:
Содержание 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...