multi-step "upgrade"

Dan White dwhite at olp.net
Tue Sep 23 13:50:58 UTC 2014


On 09/23/14 01:45 +0000, Boylan, Ross wrote:
>I'm reconstructing a system that was on Lenny to be either Wheezy (likely)
>or maybe testing.  It included Cyrus imap (2.2) and SASL.  Any advice for
>how  to go about this?

The path of least resistance for such a big jump would be to migrate your
IMAP store with an imapsync script, or an imap client such as mutt. That
won't allow for upgrading a system in place obviously.

>I know that upgrades are only guaranteed one step at a time but a) I would
>like to avoid all the steps and b) it's not exactly an upgrade since I
>don't want to start from the existing system.  More like install wheezy
>and then restore old data.

>My /usr/lib/cyrus/cyrus-db-types.active:
>ANNOTATION skiplist
>DBENGINE BerkeleyDB4.2
>DUPLICATE berkeley-nosync
>MBOX skiplist
>PTS berkeley
>QUOTA quotalegacy
>SEEN skiplist
>SUBS flat
>TLS berkeley-nosync

Another advantage of synchronizing over imap is the ability to move to
newer database formats.

>P.S. squatter has failed every time it's run from well before the latest
>problems, and so there may be something else that was corrupt already.
>Other than that, no noticeable  problems.  Also, I tried a lenny->squeeze
>upgrade in a VM (when stable was squeeze) and it did not go well.

If you're using sieve scripts, those will likely need to be moved over
manually and recompiled, or transferred over managesieve.

-- 
Dan White



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list