multi-step "upgrade"

Boylan, Ross Ross.Boylan at ucsf.edu
Tue Sep 23 01:45:10 UTC 2014


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?  

I have backups; in fact the system now seems to be running OK as Lenny, but it's no longer trustworthy (various file-system and lower-level problems).

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.

Some of my files are Berkeley DB.  I suppose this means I have to reconstruct enough of a Lenny system to dump them, and then migrate or restore them (not sure exactly how).

The upstream upgrade notes are somewhat unclear (http://cyrusimap.org/docs/cyrus-imapd/2.4.17/install-upgrade.php). Literally the headings imply that only the "Upgrading from 2.2.x or earlier" section is relevant (if going straight to 2.4.17), but I assume I actually need to read through the whole thing for all higher versions to figure out what to do.

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

Hmm, maybe the berkely db's don't need to be reconstructed.

Thanks.
Ross Boylan

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.




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