On 2025-02-11 07:55:00, David Bremner wrote: > Andrey Albershteyn <aalbersh@redhat.com> writes: > > > > > I ended up removing database, and running 'notmuch new' to re-index > > everything. This is problematic as now all my emails are marked as > > unread, but I figured this out by marking all older mails as read. > > For future reference, you can use the commands "notmuch dump" and > "notmuch restore" to save the database state to a text file and restore > it after rebuilding the database. Oh that would help, ah > > > Didn't found the reason for database corruption. > > Is (or was) the disk full? I have seen at least btrfs and xapian > interact badly if the database is being written when the disk gets full. > Yes, it was for a moment, I have xfs -- - Andrey _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org