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

Re: LDAP recovery question...



On Fri, 19 Dec 2008, Terry Haley wrote:

remember correctly, I had an issue with the LDAP server and may have tried to delete the most recent log file at that time. However, there is a log file only a month or so old that should be ok. What are the steps I need to do in

Recovery isn't guaranteed if you don't have all the necessary logfiles available. Under normal situations, you can use db_archive to see what logfiles are safe for removal. I'm not sure if I'd do that in your present state, though. You might want to take a look through the db_recover documentation and hope you can get that to work by hand.


Alternately (and probably better if you've been making regular slapcat backups), you can just "give up" on the bdb (i.e. rm it) and use slapadd, offline, to "start from scratch." Personally, this is the route I'd take.