[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: import-export
Use the "db2ldif" command in the "../slapd-<host>/" directory which will
dump EVERYTHING including "machine data". Or use V4/V5 Netscape Console
(V3 Admin Server) to do an EXPORT of the USER data only, which is
probably what you really want.
Send export.ldif to other server and from other server Netscape
Console/Admin Server, do an IMPORT.
You CAN use LDAPSEARCH if you REALLY WANT to, but it isn't necessary.
For OpenLDAP, which this mailing list is really for, you could use
SLAPCAT instead of LDAPSEARCH.
On 10 Jul, Francis, Rick wrote:
> hi,
>
> i have an ldap database (actually iplanet ldap database)
> which i want to export everything in to an ldif file.
>
> then take the ldif file and import it onto another server
> running an iplanet ldap db.
>
> i'm thinking:
>
> ldapsearch > ldif.file
> ldapadd < ldif.file
>
> but how do i get everything from ldapsearch command?
>
> and is there anything else i need to do, config, save, multiple
> ldapsearch commands/ldapadd's????