[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: backup/restore



On Thu, 15 Mar 2001, Van Deuren Joris wrote:

> Can someone tell me where I can find howto backup and restore the OpenLDAP
> database???

   Inside your LDAP ldbm directory you can execute the following:

   Backup: ldbmcat -n id2entry.gdbm > your_base.ldif
   Restore: ldif2ldbm -i your_base.ldif

   The .gdbm extension is an example. It depends on the db library you use
(in this example, GNUdbm).


-- 
  -----------------------------
  Prof. Marcelo Maia Sobral
  Administrador de Redes
  Nucleo de Informatica
  Univali - Campus São José
  Fone: (0xx48) 281-1558
  -----------------------------