How do I migrate seen databases to skiplist?

2002-11-01 Thread Erik Enge
Hi.

I've converted all my databases in Cyrus (2.1.9) to skiplist in hopes of
stopping those annoying DBERROR messages.  In that process I came to
realize that I could not use the seen-files any more because they would
be incompatible with the new format.

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

Thanks in advance,

Erik.



RE: How do I migrate seen databases to skiplist?

2002-11-01 Thread Harris Landgarten
I used cvt_cyrusdb to convert the .seen files to skiplist. They were in
flat format on my machine. You should have a man page.

Harris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:owner-info-cyrus;lists.andrew.cmu.edu] On Behalf Of Erik Enge
Sent: Friday, November 01, 2002 8:23 AM
To: [EMAIL PROTECTED]
Subject: How do I migrate seen databases to skiplist?

Hi.

I've converted all my databases in Cyrus (2.1.9) to skiplist in hopes of
stopping those annoying DBERROR messages.  In that process I came to
realize that I could not use the seen-files any more because they would
be incompatible with the new format.

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

Thanks in advance,

Erik.




Re: How do I migrate seen databases to skiplist?

2002-11-01 Thread Rob Siemborski
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