unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Question re undo
@ 2015-11-20 22:07 Bart Bunting
  2015-11-21 12:57 ` Tomi Ollila
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Bunting @ 2015-11-20 22:07 UTC (permalink / raw)
  To: notmuch

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?

Even if not now after i've done it, is there anything that could have been
done at the time to fix the error?

Kind regards
Bart
-- 

Bart Bunting - URSYS
PH: 02 87452811
Mbl: 0409560005

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question re undo
  2015-11-20 22:07 Question re undo Bart Bunting
@ 2015-11-21 12:57 ` Tomi Ollila
  2015-11-21 15:16   ` Gaute Hope
  0 siblings, 1 reply; 3+ messages in thread
From: Tomi Ollila @ 2015-11-21 12:57 UTC (permalink / raw)
  To: Bart Bunting, notmuch

On Sat, Nov 21 2015, Bart Bunting <bart.bunting@ursys.com.au> 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.

>
> Kind regards
> Bart
> -- 
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question re undo
  2015-11-21 12:57 ` Tomi Ollila
@ 2015-11-21 15:16   ` Gaute Hope
  0 siblings, 0 replies; 3+ messages in thread
From: Gaute Hope @ 2015-11-21 15:16 UTC (permalink / raw)
  To: Tomi Ollila; +Cc: Bart Bunting, notmuch@notmuchmail.org

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1282 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-21 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20 22:07 Question re undo Bart Bunting
2015-11-21 12:57 ` Tomi Ollila
2015-11-21 15:16   ` Gaute Hope

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).