Restore mail from backup
Henk.Roose at cwi.nl
Henk.Roose at cwi.nl
Mon Apr 11 10:29:12 EDT 2005
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.
> How can I turn up logging to see what is happening?
> Thanks,
> Hinf
Henk
--
Henk Roose <Henk.Roose at cwi.nl>
CWI - Centrum voor Wiskunde en Informatica
Centre for Mathematics and Computer Science
Amsterdam (NL)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20050411/329bb6b2/attachment.bin
More information about the Info-cyrus
mailing list