Restore folder from backup (kolab 2.04) SOLVED
Jacques Hylkema
j.hylkema at intronics.nl
Thu Mar 5 07:56:13 CET 2009
Gelpi Andrea schreef:
> Jacques Hylkema wrote:
>
> . . .
>
>
>> For some debugging, I tried the following:
>> su - kolab-r
>> in the mailbox, I created an empty folder backup:
>> mkdir backup
>> chmod -R 700 backup
>> ls -l
>> drwx------ 2 kolab-r kolab-r 4096 2009-03-04 15:31 backup
>> -rw------- 1 kolab-r kolab-r 4 2009-03-04 15:32 cyrus.cache
>> -rw------- 1 kolab-r kolab-r 173 2009-03-04 15:32 cyrus.header
>> -rw------- 1 kolab-r kolab-r 96 2009-03-04 15:32 cyrus.index
>> drwx------ 2 kolab-r kolab-r 4096 2009-03-04 15:32 Trash
>>
>> bash-3.2$ /kolab/bin/cyrreconstruct -r -f user/j^m^dekker/*@intronics.nl
>> <mailto:user/j^m^dekker/*@intronics.nl>
>> user/j.m.dekker/Trash at intronics.nl
>> <mailto:user/j.m.dekker/Trash at intronics.nl>
>>
>> bash-3.2$ /kolab/bin/cyrreconstruct -r -f user/j^m^dekker at intronics.nl
>> <mailto:user/j^m^dekker at intronics.nl>
>> user/j.m.dekker at intronics.nl <mailto:user/j.m.dekker at intronics.nl>
>>
>> bash-3.2$ /kolab/bin/cyrreconstruct -r -f user/j^m^dekker*@intronics.nl
>> <mailto:user/j^m^dekker*@intronics.nl>
>> user/j.m.dekker at intronics.nl <mailto:user/j.m.dekker at intronics.nl>
>> user/j.m.dekker/Trash at intronics.nl
>> <mailto:user/j.m.dekker/Trash at intronics.nl>
>>
>> As you can see, the backupfolder never appears.
>>
>>
>
> If the folder is empty it doesn't appear. I confirm.
>
> I found a solution, use cyradm and create the folder before reconstruct it.
>
> as user kolab-r
>
> cyradm --user manager localhost
>
>> cm user/j^m^dekker/R--S at intronics.nl
>> quit
>>
>
> su - kolab-r -c "cyrreconstruct -r -f user/j^m^dekker/R--S at intronics.nl"
>
> Let me know if it works.
>
>
Yes! You're the greatest!
When I created the directory using cyradm, and restored the
directories/files below from backup, and ran cyrreconstruct, it worked
perfectly.
I would like to thank everyone for their help and time.
Jacques
______________________________________________________________________________________
This outbound message from Intronics B.V. has been checked for all known
viruses by KPN MailScan (IV-Scan), powered by MessageLabs.
______________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20090305/d2e06329/attachment.html>
More information about the users
mailing list