reconstructing mailboxes from backup

Tim Coote <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hullo

I have a cyrus implementation on Fedora for a small (~10) users that’s been migrated through many versions of the various components, including several different of IMAP clients.

Realising the fragility of the setup, I thought I’d restore from a backup. However, I’m finding that several of the mailboxes are not being recovered. I feel that I am missing somethign obvious, but I cannot spot it. 

The restoring version of cyrus-imap is: cyrus-imapd-3.0.13-2.fc32.x86_64,

The restored filesystem layout can be summarised thus:

`sudo find /var/spool/imap/g | grep cyrus.header`:

/var/spool/imap/g/user/george/Notes/cyrus.header
/var/spool/imap/g/user/george/cyrus.header
/var/spool/imap/g/user/george/Sent Messages/cyrus.header
/var/spool/imap/g/user/george/Deleted Messages/cyrus.header
/var/spool/imap/g/user/george/Sent/cyrus.header
/var/spool/imap/g/user/george/Trash/cyrus.header
/var/spool/imap/g/user/george/INBOX/Sent Messages/cyrus.header
/var/spool/imap/g/user/george/INBOX/Deleted Messages/cyrus.header
/var/spool/imap/g/user/george/INBOX/Drafts/cyrus.header
/var/spool/imap/g/user/george/INBOX^Deleted Messages/cyrus.header
/var/spool/imap/g/user/george/Drafts/cyrus.header

[so I would expect all of the subdirectories to be reconstructed as mailboxes]

however, using:
`sudo -u cyrus reconstruct -r -f user/george`

I only get:
user/george
user/george/Deleted Messages
user/george/Drafts
user/george/INBOX.Deleted Messages
user/george/Notes
user/george/Sent
user/george/Sent Messages
user/george/Trash

ie no subdirectories below the top level, but excluding those directories below INBOX.
Should there be a file: `/var/spool/imap/g/user/george/INBOX/cyrus.header`? 

Is there anything that I should be doing/how can I recover the other mailboxes?

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.