Even if it's db4, you need to pass "db3" as the database type parameter:

# ./cvt_cyrusdb mailboxes.db db3 mailboxes.skiplist skiplist



sandra wrote:

Patrick,


I have tried to do the conversion from db4 to skiplist for the cyrus-imap compiled with db4, but, there is a error message:


# ./cvt_cyrusdb mailboxes.db db4 mailboxes.skiplist skilist fatal error: unknown old backend Why doesnt it recognize db4? I have to compile with some other parameter, like --with-mboxlist-db=db4 ?

Thanks

Sandra




Patrick Morris wrote:




I'd assume this is because you're moving from a system that uses db4 to
one using db3.  If that's the case, the easiest thing to do is to
convert them on the first system to a format both recognize (such as
skiplist).  Then, convert the skiplist version back to db3 on the other
system.

sandra wrote:



I want to know how I can convert the files .db cyrus uses to db3!

Thanks a lot.

SAndra













Reply via email to