Hi I am deploying a cyrus server for my second time. The first time was
great. This time I wanted to learn more about disaster recovery.

I am using the simon matter rpm 2.2.3-8 confugured with virtdomain:
support.

As a test I deleted the cyrus.* files from a mailbox
I thought that I may be able to run
su -l cyrus "/usr/lib/recontruct -r -f"
but this did not rebuild the cyrus.* files and the mailbox was considered
corrupt. After copying the cyrus.* files from another directory and
running the recontruct command, everything worked fine.

I have googled and read the docs but have not seen much docs regarding
this and other types of disaster recovery. Does anyone know of any good
tutorials or docs with disaster scenarios ?

the following run as user cyrus....

<snip>
-bash-2.05b$ pwd
/var/spool/imap/domain/d/draftmail.org/r/user/robin
-bash-2.05b$ /usr/lib/cyrus-imapd/reconstruct -f -r
draftmail.org!user.robin: Mailbox has an invalid format
user/robin/Junk [EMAIL PROTECTED]
user/robin/Sent [EMAIL PROTECTED]
-bash-2.05b$ cp Sent\ Items/cyrus.* ./
-bash-2.05b$ /usr/lib/cyrus-imapd/reconstruct -r -f
user/[EMAIL PROTECTED]
user/robin/Junk [EMAIL PROTECTED]
user/robin/Sent [EMAIL PROTECTED]


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to