How to safely upgrade 6.2.0.2 to newest stable?

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Jan 6 12:47:23 GMT 2012


On Thu, 5 Jan 2012 19:13:53 -0800 (PST), chris coleman wrote:
> Concerned about data loss.  This is a production box with ~80GB of email on there.  Can have only about 1-2 hours downtime per night.
> 1) What's the newest stable version ?

6.4.4 which should work fine for IMAP<->Maildir, but has been reported
to be flakey with IMAP<->IMAP.

> 2) What's the safe way to upgrade from 6.2.0.2 to the newest stable?

1) Sync to make sure things are reasonably similar
2) Drop in the latest OLI code
3) Change the account section to status_backend = sqlite
4) A new sync will convert your plain text cache to an sqlite cache (but
leave the old plain text cache around for easy reverting)
   This should be quick and not involve any mail up/downloading.
5) See if it works :-)
6a) If it does not work, go back to the old version or set
    status_backend=plain
6b) Or once you are sure it works, you can delete the
.offlineimap/Account-foo/LocalStatus folder (the new cache will be in
the LocalStatus-sqlite folder)

HTH
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20120106/00cfd07c/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list