Upgrade all Berkeley db's

Martin Schweizer schweizer.martin at gmail.com
Thu Feb 7 12:21:31 EST 2008


Hello

 I use FreeBSD 6.3 and Cyrus 2.3.11 (with sasldb2). All works correct.
In the upgrade process (2.3.9 to 2.3.11) I checked also all the db
files.  I found the following:

file /usr/local/etc/sasldb2:
/usr/local/etc/sasldb2.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

-> Do I need to upgrade the sasldb2 or can I let is as is?

file /var/imap/*.db:
- annotations.db:  Apple QuickTime movie (modified)\012- Cyrus skiplist DB

- deliver.db:      Hitachi SH big-endian COFF object, not
stripped\012- Berkeley DB (Btree, version 8, native byte-order)\012-
Berkeley DB (Btree, version 8, little-endian)

- mailboxes.db:    Apple QuickTime movie (modified)\012- Cyrus skiplist DB

- tls_sessions.db: Berkeley DB (Btree, version 8, native
byte-order)\012- Berkeley DB (Btree, version 8, little-endian)

pkg_info|grep db:
db3-3.3.11_3,1      The Berkeley DB package, revision 3.3
db41-4.1.25_4       The Berkeley DB package, revision 4.1

db3_dump deliver.db and tls_sessions.db:
VERSION=3
format=bytevalue
type=btree
...
This means for me it's db3. Can I upgrade it with db3_dump to a text
file db41_load in a new database file? Or can cyrus create
tls_session.db and deliver.db new?

annotations.db:
How I can upgrade this db? Do I need it or can cyrus createannotations.db?

mailboxes.db:
This I can dump/restore by ctl_mboxlist -d/-u.

What is about the files in the directories /var/imap/db and
/var/imap/user? How I should dealt with these? Did I foreget
something?

Regards,
-- 
Martin Schweizer
schweizer.martin at gmail.com
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587


More information about the Info-cyrus mailing list