Comment 19 for bug 8392

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 9 Nov 2004 13:47:47 +0100
From: Torsten Landschoff <email address hidden>
To: Stephen Frost <email address hidden>
Cc: Doug Winter <email address hidden>, <email address hidden>
Subject: Re: [debian-openldap] Bug#272984: slapd: checkpoint directive missed from bdb backend

--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Stephen,=20

On Tue, Nov 09, 2004 at 07:29:08AM -0500, Stephen Frost wrote:
> > It doesn't happen automatically, so can lead to data loss if the=20
> > database is not recovered.
>=20
> The point is that the database *can* be recovered unless something worse
> has happened (such as file system corruption). Just because you can't
> open it immediately upon reboot doesn't mean the data has been lost.
> Torsten, perhaps we could add something to the README about how to use a
> Berkley db, with some URLs to more documentation.

After skipping through the DB docs I am sure you could write a book
about that... Therefore I'll just add some little notes.=20

Speaking about db_recover: Originally that was done automatically in
slapd. It was dropped exactly because data loss could result. Recovering
the database is risky in the sense that doing it twice at the same time
/will/ kill your data. AFAIK power loss during database recovery could
also result in complete data loss.=20

So basically you should backup your db before running recover. Which is
another good reason to not do it automatically.=20

Greetings

 Torsten

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBkLxydQgHtVUb5EcRAiC5AJ9oD9KAfUjjNYP2r3WFPvcmBQOIxwCbBhYR
TjVjiGWvpNZxjT8tI6MTjgg=
=ECvg
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--