how to restore a backup of single mailbox/folder with many subfolders without disturbing the other mailboxes

Patrick Boutilier boutilpj at ednet.ns.ca
Wed Mar 10 06:06:04 EST 2010


On 03/10/2010 06:52 AM, Robert Noll wrote:
> Hi all,
>
> i'd like to ask for advice on how to restore a backup of single mailbox
> without disturbing the other mailboxes.
>
> Let's say user albert deleted an important folder with many (100+,
> hierarchy) subfolders accidentally.
> A complete system backup from yesterday evening is available,
> but i don't want to restore the whole mail-system to the state of yesterday
> because that would mean other users would loose anything that has
> happened since then (sent, received etc).
>
> Following some info i found,
> i created a new mailbox folder for the user in the mailsystem
> (albert/myrestore)  ,
> restored the files from the backup system in there,
> and ran   reconstruct -r albert/myrestore
>
> while the mails directly inside the folder are now visible correctly,
> the subfolders are not visible,
> any idea how to solve this ?

Try the -f option with reconstruct.

-f     Examine the filesystem underneath mailbox, adding all directories 
with a cyrus.header found there as new mailboxes.  Useful for
               restoring mailboxes from backups.


>
> please advise =)
> Regards,
> Robert Noll
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



More information about the Info-cyrus mailing list