On Tue, Dec 11, 2012 at 11:04 AM, Patrick Totzke <patricktotzke@gmail.com> wrote: > I ended up killing the process after i saw that ETA was >3h. Gmail's bottleneck. Very unfortunate. Leave it going over night. > This broke my index! > > afterwards, a `notmuch new` printed > > A Xapian exception occurred creating a directory: Expected block > 485 to be level 1, not 0. > > I wasnt able to properly read the index anymore and had to > restore an old index dump. not cool! Can you provide any more information about this? The script properly uses atomic transactions. Any corruption here is the result of a notmuch library bug, which should be investigated.