-
Notifications
You must be signed in to change notification settings - Fork 23
Home
Welcome to the dovecot-ceph-plugin wiki!
To restore an rbox index, dovecot tool doveadm force-resync -u user <MAILBOX_NAME> can be used. The tool first makes a backup of the current index file if it exists. Afterwards, it tries to read the Mailbox GUID from the index file to determine the mailbox unique identifier. If GUID cannot be found, the mailbox name given in doveadm command line argument will be used.
The restore process works in the following way.
-
The tool searches for all Rados objects matching xattr M = Mailbox guid in user namespace (in case no GUID is available, it uses B = Mailbox name)
-
Found mail objects are added to the newly created index file.
-
The tool tries to find a matching mail record in cache or backup index file (seq, uid), to complete the newly created index entry.
-
The resulting index will only include mails which have a corresponding rados mail object.