Restore mail from backup

Hamish lists at subvs.co.uk
Mon Apr 11 11:13:12 EDT 2005


On Monday 11 April 2005 15:29, Henk.Roose at cwi.nl wrote:
> Hamish wrote:
> > On Monday 11 April 2005 14:07, Dave McMurtrie wrote:
> > > Hamish wrote:
> > > > Hello everyone
> > > > I am having trouble restoring files from a backup, I have made the
> > > > backup just with rsync, so i have the contents of the
> > > > spool/domain/mydomain.com/user/myuser in the backup. It seems that
> > > > the user's mailbox has been deleted, so what I aim to do is create a
> > > > new user with the same name, copy the files from the backup, then run
> > > > reconstruct (please tell me if this is wrong)
> > > > I copy the files across, but in cyradm when `running reconstruct
> > > > user/myuser at mydomain.com`
> > > > gives Operating System Error.
> > > > Could someone point me in the right direction?
> > > > Thanks,
> > > > H
> > >
> > > The restored files are owned by root instead of your cyrus user?
> >
> > Thanks for the suggestion, but no they are owned by the cyrus user (I am
> > using a kolab server, so the user is kolab-r). I have found that I cannot
> > reconstruct even a new mailbox, is this normal?
>
> AFAIK (running 2.1.18) you need to run reconstruct (as the cyrus user) as
> 'reconstruct -r user.myuser'
> The dot (.) is the hierarchy separator.  The -r is for recursively.

I managed to get it right by using cyrreconstruct, instead of cyradm, not sure 
why this worked like this though!
Thanks for the suggestions,
H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20050411/42a77486/attachment.bin


More information about the Info-cyrus mailing list