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

Re: ldbm migrations

--On Wednesday, May 25, 2005 10:13 PM -0400 matthew sporleder <msporleder@gmail.com> wrote:

It was kind of legacied to me, and I heard from the previous guy that
bdb had too much disk overhead.  However, I am giving a hard
consideration to, at least, moving the master to the more reliable
(transactional) backend.  The migration just doesn't sound fun.

The general idea is:

slapcat the DB to ldif
slapadd the DB from ldif into your new BDB DB.

Make sure you tune DB_CONFIG appropriately.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin