Question about reconstruct

Adam Tauno Williams awilliam at whitemice.org
Mon Jan 4 14:12:25 EST 2010


On Mon, 2010-01-04 at 16:24 -0200, Sergio Belkin wrote:
> Hi, happy new year.
> My question is:
> When should I use "-f" flag on command reconstruct, and when should
> not I use it?

>From the Cyrus chapter of WMOGAG:
<quote>
The most important options for reconstruct are “-r” and “-k”. The “-r”
option causes reconstruct to reindex the specified mailbox and all
subordinate mailboxes, otherwise child mailboxes are not reindexed. The
“-k” preserves the “cyrus.expunge” database for the mailbox and all
corresponding expunged messages; this option should always be specified
for servers operating in delayed-expunge mode200. If the “-k” option is
not specified all expunged messages will be removed from the specified
folder(s).
When restoring mailboxes from an archive or backup the parameter “-f”
should also be specified; with “-f” any subdirectories in the filesystem
directory corresponding to the specified mailbox which contain a
“cyrus.header” file will be added into the server's mailbox list. The
“-x” option when provided in conjunction with “-f” will create new
folders with default metadata, otherwise reconstruct will attempt to
restore as much of the mailboxes metadata as possible; such as ACLs,
seen state, and flags.
</quote>

-- 
OpenGroupware developer: awilliam at whitemice.org
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>



More information about the Info-cyrus mailing list