On Monday 11 April 2005 15:29, [EMAIL PROTECTED] 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/[EMAIL PROTECTED]
> > > > 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

Attachment: pgpPOZRNS6zDJ.pgp
Description: PGP signature

Reply via email to