On Wed, Jan 20, 2016 at 09:22:53AM -0500, Mark Alexander wrote:
> 1. Use sup-dump to make an ASCII dump of the message state and tags.
> 2. Move the Xapian index (~/.sup/xapian) to some other location.
> 3. Used sup-restore to read the dump created in step 1.
>
> I don't know if this going to work for you, but it might be worth
> a try since your index is broken.
wow, thank you!
i don't see how it could not work. sup-dump only stores the message-id
and the
labels, that means on restore sup-sync has to find that message and then
recreate
everything else from the original mbox data.
it is essentially doing a fresh import of everything, with the only
added
information of setting the labels. looks fool-proof to me.
the only downside is that at 6GB of emails, this is going to take a
loooong time. (and so i need to write this with mutt :-(
i am certainly going to complete this, but i wonder if there is a faster
way, something that doesn't rebuild the whole index, but just resyncs
the offsets.