how to update BDB

Jukka Salmi j+asg at 2004.salmi.ch
Sat Jan 22 07:47:42 EST 2005


Andreas Hasenack --> info-cyrus (2005-01-22 10:07:53 -0200):
> On Sat, Jan 22, 2005 at 11:33:14AM +0100, Jukka Salmi wrote:
> > Yes, this works, even without dumping and loading.
> > 
> > I wonder if I really need to run db_checkpoint and db_recover before
> > removing the log file; for me it seems that's the same like just
> > removing /var/imap/db/__db.* and /var/imap/db/log.* - isn't it?
> 
> db_recover would also check your database to see if everything is right.
> It doesn't hurt I guess :)
> Regarding checkpoint, db_checkpoint would make sure that there are no
> pendind transactions stored in the log files.

I see. I guess I should really read the docs... ;-)


Thanks again!

Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list