Re: Questions around moving from 2.2.12 to 2.4.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-02-29 at 13:17 +0100, Stefan G. Weichinger wrote:
> Am 29.02.2012 12:47, schrieb Bron Gondwana:
> > Make sure you get /var/imap or wherever the DB files are stored as
> > well, /var/spool/imap is just the emails - you want to keep the
> > indexes!
> Afai understand this would mean these 3 dirs:
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> sievedir: /var/lib/sieve

Yes.

> > Your biggest risk is berkeley DB files.  If you are using berkeley, 
> > either convert to skiplist first, or dump and restore.
> sigh ... I don't even *know* if I use berkeley.
> I suspect, yes, I see db-files in /var/lib/imap
> # ls /var/lib/imap
> annotations.db
> db
> db.backup2
> deliverdb
> mailboxes.db
> [...]

"file {filename}" should tell you what they are. With 2.2.x it is likely
they are Berkeley.   Berkeley is an administrator's nightmare.  If they
Berkelely convert them and make sure the server still works *BEFORE*
migrating if you are using a rsync method.

> Is the conversion hard to do?
> What do you recommend?

cvt_cyrusdb  [I think this was around in 2.2x?]

<https://sourceforge.net/projects/coils/files/WMOGAG-Coils.pdf/download>
see page 97

You'll probably need to change the database type in imapd.conf as well.
> > Beware of mailbox sort order issues if you change that config.
> You talk of the sort order in the mail-clients view

No, it is sorting order in the database.  It is much easier to convert
everything before migrating.

Attachment: signature.asc
Description: This is a digitally signed message part

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux