scripts [was: copying wordlists]
David Relson
relson at osagesoftware.com
Wed Nov 24 13:41:55 CET 2004
On Wed, 24 Nov 2004 06:02:09 -0500
Tom Allison wrote:
> David Relson wrote:
>
> >>But the bogoutil dump/load isn't all that's needed to compact the
> >>database... ?
> >
> >
> > As stated above, bf_compact is available on sourceforge. 0.93.1 was
> > released with lots of documentation, but not the bf_copy and
> > bf_compact scripts. People having trouble with copying and
> > compacting wordlists because they hadn't read the documentation
> > prompted writing the scripts.
> > The next release will include the scripts. However it'll be a
> > little
> > while before the release because Matthias is working on some thorny
> > issues with respect to environments and using multiple wordlists.
> >
>
> I was using bogoutil -d as a daily database backup.
> But it seems that I've lost this capability with the new transactional
> system. With DB_CONFIG settins up to 65536 I still cannot dump the
> wordlist. I have 112976 tokens. Considering the errors, would it
> make sense to remove the -d option?
>
> So the only tools for maintenance are these bf_* utilities?
Hi Tom,
No. bogoutil can be used, but there are several caveats, because of the
need of maintaining the integrity of the database environment.
1 - When using dump/load, the new wordlist needs to have a new
database environment, i.e. a new directory
2 - When swapping environments, rename the directories.
3 - If you _must_ copy an environment, use the bf_copy script.
4 - When copying an environment, you may want to use the "-c" (compact)
option to delete log files that are no longer needed.
Using bogoutil -d to save your wordlist is fine. However building a
new wordlist is different.
I've attached copies of the scripts to ensure you have the latest and
greatest.
HTH,
David
More information about the Bogofilter
mailing list