How do I migrate seen databases to skiplist?

Rob Siemborski rjs3 at andrew.cmu.edu
Fri Nov 1 09:23:58 EST 2002


On 1 Nov 2002, Erik Enge wrote:

> Is there any way I can migrate those old files to the new format (I
> believe they were Berkley DB - whatever is the default - and now they
> are skiplist)?

The cvt_cyrusdb program, in a form like:

(all one line, you'll need to modify for your specific needs)

find /var/imap/user -name \*.seen -exec /usr/cyrus/bin/cvt_cyrusdb \{\}
flat \{\}.new skiplist \; -exec mv \{\}.new \{\} \;

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper







More information about the Info-cyrus mailing list