Re: Question re undo

Subject: Re: Question re undo

Date: Sat, 21 Nov 2015 10:16:12 -0500

To: Tomi Ollila

Cc: Bart Bunting, notmuch@notmuchmail.org

From: Gaute Hope


Den lørdag 21. november 2015 skrev Tomi Ollila <tomi.ollila@iki.fi>
følgende:

> On Sat, Nov 21 2015, Bart Bunting <bart.bunting@ursys.com.au
> <javascript:;>> wrote:
>
> > Hi there,
> >
> > I've accidentally removed a bunch of tags in error and was dreaming
> > there may be a way to fix it :).
> >
> > Is there any way to restore tags as they were at a certain point in
> > time?
>
> some examination of lastmod: might help ?
>
> first run notmuch count --lastmod
>
> Then experiment with  `notmuch search lastmod:<num>` with "suitable"
> values of num to figure out of the messages that have been affected...
>
> Tomi
>
> > Even if not now after i've done it, is there anything that could have
> been
> > done at the time to fix the error?
>
> probably not.
>
> You could dump the db at regular intervals, then you might be able to
restore it.

Gaute

Thread: