Restore backup of a mailbox
Paul van der Vlis
paul at vandervlis.nl
Thu Nov 10 09:58:21 EST 2016
Op 10-11-16 om 14:02 schreef Vladislav Kurz via Info-cyrus:
> On 11/10/16 12:17, Paul van der Vlis via Info-cyrus wrote:
>> Hello,
>>
>> A user has removed an important mailbox with all the sent-messages.
>>
>> I've tried to restore the data from a backup, but then I don't see the
>> mailbox with sent-messages. And I don't find the programm
>> "cyrreconstruct" anymore (the Debian version of "reconstruct").
>
> cyrreconstruct is the right way to do it. It is in the package
> cyrus-common-2.4 (or similar).
>
> ~# which cyrreconstruct
> /usr/sbin/cyrreconstruct
>
> As you have to run it as user cyrus, you have to specify the full path.
It's not there anymore in Debian 8, but I found it here:
/usr/lib/cyrus/bin/reconstruct
This did work:
/usr/lib/cyrus/bin/reconstruct -rf "user.username"
Thanks for your hint about using the user "cyrus"!
With regards,
Paul van der Vlis.
--
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/
More information about the Info-cyrus
mailing list