"reconstuct -f" after partial restore - how it worked for me

Michael Loftis mloftis at wgops.com
Sun Dec 18 23:29:54 EST 2005

--On December 18, 2005 3:02:55 PM +0100 tschloss at web.de wrote:

> - added a new user "johndoe" with cyradm
> - did not stop the IMAPd
> - copied the tree of backuped dirs/files to "/partition/user/johndoe"
> -  chown´ed  these files/dirs to cyrus/imap
> -  su  cyrus
> - /path-to/reconstruct -C  /etc/imapd.conf  -r  -f  user.johndoe
> - changed the  ACL  of  user.johndoe*  (which  may  be  obsolote because
> reconstruct  used the found values!) --> all seems to be there, visible
> by the IMAP client!
> --> move the mailfolders to the final destination (with IMAP client)
> The last step  could be omitted if I would have worked directly under the
> destination user, which I did not trust in.

If you're using quota's you'll need to rebuild your quota 
database/information too, i think the cyrus tool name is quotareconstruct 
(debian renames them because they can clash since they're far too common a 

More information about the Info-cyrus mailing list