Re: ispman bdb database howto ? Wim ?

Wim Kerkhoff <[email protected]> Thu, 19 May 2005 08:43:25 -0700
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Uli Schellhaas wrote:

> Hello,
>
> stupid question to Wim Kerkhoff :
>
> why dont you just copy the /var/lib/ldap folder when slapd is stopped 
> ? is there some disadvantage ?
>
> greetings.: Uli Schellhaas
>
Its massive... and if it's corrupted, it's of no use. The LDAP dump is 6 
MB before compression, but /var/lib/ldap is much larger.

And with the proper dump, you can do a "diff -rub " on them over time to 
see what has changed.

I do back it up both manually (eg to /var/lib/ldap.old) and via the 
nightly rsync off everything of the server.

Wim



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click