blob: 5ce34b00dd1322b22f85025a36fa1576af536a8a [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<section id="tools_ldifexport_wizard">
<title>LDIF Export wizard</title>
<para>
This wizard is used to export entries to LDIF content files.
</para>
<para>
To start the wizard choose one of the following options:
<itemizedlist>
<listitem>
<para>
In the LDAP Browser view select an entry or a search
and choose
<emphasis role="strong">
Export >
<inlinemediaobject>
<imageobject>
<imagedata
fileref="icons/export_ldif.gif" format="GIF" />
</imageobject>
</inlinemediaobject>
LDIF Export...
</emphasis>
from context menu.
</para>
</listitem>
<listitem>
<para>
In the Connections view select a connection and
choose
<emphasis role="strong">
Export >
<inlinemediaobject>
<imageobject>
<imagedata
fileref="icons/export_ldif.gif" format="GIF" />
</imageobject>
</inlinemediaobject>
LDIF Export...
</emphasis>
from context menu.
</para>
</listitem>
<listitem>
<para>
In the Workbench menu bar select
<emphasis role="strong">File > Export...</emphasis>
and choose
<emphasis role="strong">
<inlinemediaobject>
<imageobject>
<imagedata
fileref="icons/export_ldif.gif" format="GIF" />
</imageobject>
</inlinemediaobject>
LDAP to LDIF
</emphasis>
.
</para>
</listitem>
</itemizedlist>
</para>
<simplesect id="tools_ldifexport_wizard_1">
<title>Data to Export</title>
<para>
On the Data to Export page you have to specify which
entries and attributes to export.
</para>
<para>
The layout of the page is similar to the
<link
linkend="tools_search_dialog">
LDAP Search page
</link>
. In the <emphasis role="strong">Returning Attributes</emphasis> section
you can also choose the following options:
</para>
<para>
<informaltable frame="all">
<tgroup cols="3">
<colspec colname="Option" />
<colspec colname="Description" />
<colspec colname="Default" />
<thead>
<row>
<entry>Option</entry>
<entry>Description</entry>
<entry>Default</entry>
</row>
</thead>
<tbody>
<row>
<entry>All user attributes</entry>
<entry>
Exports all user attributes.
</entry>
<entry>on if the Returning Attributes field is empty</entry>
</row>
<row>
<entry>
Operational attributes
</entry>
<entry>
Exports all operational attributes.
</entry>
<entry>off</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</simplesect>
<simplesect id="tools_ldifexport_wizard_2">
<title>LDIF File</title>
<para>
On the LDIF File page you have to select the target LDIF file.
</para>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata
fileref="images/tools_ldifexport_wizard_1.png" format="PNG" />
</imageobject>
</mediaobject>
</screenshot>
</para>
<para>
<informaltable frame="all">
<tgroup cols="3">
<colspec colname="Option" />
<colspec colname="Description" />
<colspec colname="Default" />
<thead>
<row>
<entry>Option</entry>
<entry>Description</entry>
<entry>Default</entry>
</row>
</thead>
<tbody>
<row>
<entry>LDIF File</entry>
<entry>
The LDIF file to export to. Type in the
full path or
<emphasis role="strong">
Browse...
</emphasis>
to select the path on the file system.
The drop-down list provides a history of
recently used files.
</entry>
<entry>empty</entry>
</row>
<row>
<entry>Overwrite existing LDIF file</entry>
<entry>
If the export file already exist, you
must permit to overwrite the file.
</entry>
<entry>off</entry>
</row>
<row>
<entry>Text Formats</entry>
<entry>
Opens the
<link
linkend="preferences_text_formats">
Text Formats preferences
</link>
where you could modify the LDIF format.
</entry>
<entry>-</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</simplesect>
</section>