From 409b7e78f4b773eed96e4d653798719dc8180e8e Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Sun, 22 Nov 2015 10:16:12 +1900 Subject: [PATCH] Re: Question re undo --- 48/eb26ec47bf914ec9619cf52f919934fd01c1b9 | 154 ++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 48/eb26ec47bf914ec9619cf52f919934fd01c1b9 diff --git a/48/eb26ec47bf914ec9619cf52f919934fd01c1b9 b/48/eb26ec47bf914ec9619cf52f919934fd01c1b9 new file mode 100644 index 000000000..fbcb42079 --- /dev/null +++ b/48/eb26ec47bf914ec9619cf52f919934fd01c1b9 @@ -0,0 +1,154 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 186EA6DE12E8 + for ; Sat, 21 Nov 2015 07:16:18 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.719 +X-Spam-Level: +X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 4id6WbnBMhIS for ; + Sat, 21 Nov 2015 07:16:15 -0800 (PST) +Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com + [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id D00A36DE0943 for + ; Sat, 21 Nov 2015 07:16:14 -0800 (PST) +Received: by wmec201 with SMTP id c201so54932654wme.1 + for ; Sat, 21 Nov 2015 07:16:13 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=MDxoWZoPS63vi1ZLVu9Y6+CVOIfIhOXAryzUXiTJJvg=; + b=Kj45J/XovkUvrnISdfMJHhmREYQSZXJAe2B5d9dLDeDz8654EGQ6FDEcM5uANhauRq + 1BU8qnw20+JIwD3XYfCb90M0wdgpeoVZ5u4NLhfeZSsKRSLlAd15eXkD21hiC7ODlKSh + 0dtWfLsdlxKTE5mm7enh8llSzhno9qvMwRo+XZTTASzLKWdd+BOQd6+szd/wOqr/9O4v + dFDXjn2fSA4xa7OJLjVDh1nVI7lBcNNhVcv3GZdmfgoC/+y6IZ4mY15pnMiwTSnYzPGF + 6mLn/DaKKXZXiV4k0F/0lFq0M5PlierMIudhR6yQs9OsIt7T9wkt/WK7eFr5G7K8+9uD + 89Pw== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:mime-version:in-reply-to:references:date + :message-id:subject:from:to:cc:content-type; + bh=MDxoWZoPS63vi1ZLVu9Y6+CVOIfIhOXAryzUXiTJJvg=; + b=WPol7S/JNGhYr0X0DIZCGiXRotua2jTGSOYE3nwsUOcdYxWcPIhTDtPlccoXxvPmi8 + MvJyOPvYqTAUvK2L8n00GuTYDIcfxrQ8lXaqGnVWOAG/JMsWAAJxblruDdd9JR9Yh73I + l6cIk0HKxZRTXQgbv1Fw8BbN++DttAhmVkU2YP2yDTwS+HHQ36+GlW/DryaCOM+OZo8W + 9xcPkHzxFryzct3S9byL7KSbaZ56fR9Qe7C4dA8G3TSeWJ66li4QTJ4CCvqdxx2Q9wco + midyYUPYJrbDIEPlktwxL0PuA+decA38Q66eecvihjB9owjL0Rub5eZ50XCejT2l1e+M + Bptw== +X-Gm-Message-State: + ALoCoQmj1/WOLzP5/I0Up3On/Wd0XC9A+3bhTGXzsSfmNrAtbaZhDzoFeUDSgRjx494XzhZfdy3V +MIME-Version: 1.0 +X-Received: by 10.28.140.136 with SMTP id o130mr6426806wmd.78.1448118973021; + Sat, 21 Nov 2015 07:16:13 -0800 (PST) +Received: by 10.28.87.79 with HTTP; Sat, 21 Nov 2015 07:16:12 -0800 (PST) +In-Reply-To: +References: +Date: Sat, 21 Nov 2015 10:16:12 -0500 +Message-ID: + +Subject: Re: Question re undo +From: Gaute Hope +To: Tomi Ollila +Cc: Bart Bunting , + "notmuch@notmuchmail.org" +Content-Type: multipart/alternative; boundary=001a1145bc90fadcd205250e78b0 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 21 Nov 2015 15:16:18 -0000 + +--001a1145bc90fadcd205250e78b0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Den l=C3=B8rdag 21. november 2015 skrev Tomi Ollila +f=C3=B8lgende: + +> On Sat, Nov 21 2015, Bart Bunting > 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:` 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 + +--001a1145bc90fadcd205250e78b0 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +

Den l=C3=B8rdag 21. november 2015 skrev Tomi Ollila <tomi.ollila@iki.fi> f=C3=B8lgende:
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 dreamin= +g
+> 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=C2=A0 `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 h= +ave been
+> done at the time to fix the error?
+
+probably not.

+
You could dump the db at regular intervals, then you migh= +t be able to restore it.

Gaute=C2=A0=C2=A0
+ +--001a1145bc90fadcd205250e78b0-- -- 2.26.2