"reconstuct -f" after partial restore - how it worked for me
tschloss at web.de
tschloss at web.de
Sun Dec 18 09:02:55 EST 2005
Sebastian Hagedorn wrote:
> -- tschloss at web.de is rumored to have mumbled on 17. Dezember 2005 16:43:34 +0100 regarding <kein Betreff>:
>
>> - run "reconstruct -f user.info"
>
> Make that
>
> "reconstruct -rf user.info"
> --
> Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
> Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
> Universität zu Köln / Cologne University - Tel. +49-221-478-5587
Thanks, Sebastian.
I have now a test server running.
After fiddling around with several variants I found now the parameters which worked for me:
- 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.
Cheers.
Thomas
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
More information about the Info-cyrus
mailing list