how to update BDB

Andreas Hasenack andreas at conectiva.com.br
Sat Jan 22 07:07:53 EST 2005


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.

---
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