Injecting a mail folder into a users inbox/restore from backup
jwade at oakton.edu
Wed Dec 5 09:19:18 EST 2012
We typically create a subfolder of the user's mailbox via cyradm or IMAP
commands, restore the files from the backup into this subdirectory and
Requires no thought. Have used this far less since the delayed expunge
Hope this helps,
Oakton Community College
On 12/5/2012 5:03 AM, Adam Tauno Williams wrote:
> On Wed, 2012-12-05 at 11:47 +0100, Lars Schimmer wrote:
>> Aas I never needed to do it yet, I want to ask for the best way to
>> restore users email which got lost...
>> Situation: running cyrus on debian with users and mailboxes.
>> User deleted on accident a folder in his INBOX (and cyrus did unlinked
>> the files and removed the folder from disk already).
>> I do backup from the INBOX structures on disk every night (in a basic
>> simple way, see it as a snapshot of the mail disks of cyrus).
>> Now I need a good way to inject the "old" folder user.xyz.INBOX.Folder
>> into the live cyrus system.
>> Is it easier to create a new user and copy with imap client?
>> Or just copy the folder content into a new created folder on users inbox?
> I typically just copy the message file(s) back, or in this case the
> folder, and run "reconstruct -r -f -k -s user.dude". Hasn't failed me
> A more elegant way would be nice, but until there is some type of
> dump/restore format, moving files around is what you've got.
More information about the Info-cyrus