Derek Yarnell derek at
Mon Jun 27 14:04:17 EDT 2005

So my understanding of the backup procedures of cyrus imapd are,

(I am running on RHEL4 built in version of cyrus-imapd 2.2.12)

1) backup /var/spool/imap (or all the actual message stores, there are 
no BerkleyDB's in here so they can be backed up normally?)

2) backup /var/lib/imap/sieve, /var/lib/imap/quota and 
/var/lib/imap/user which are all non DB so they can too be backed up 

3) berkleyDB dump 
/var/lib/imap/{mailboxes.db|annotations.db|deliever.db} and get them 
backed up.

4) what about /var/lib/imap/db directory? what is it doing exactly, i 
can not find this directory in the docs?

Now when I restore, it is a bit fuzzy on this, I can just restore the 
stuff from #1 in the same place as it existed before and then run 

What about restoring the rest? just db_load the DB files?

Thanks for any help.

Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
derek at

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list