[PATCH 8/8] cli: optionally restore message properties from dump file
[notmuch-archives.git] / 51 / 23267632e5ad5196a7aa865d1821c0b71eafce
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 8466D6DE021E\r
6  for <notmuch@notmuchmail.org>; Sun, 16 Aug 2015 02:40:37 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.125\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.125 tagged_above=-999 required=5 tests=[AWL=0.125]\r
12  autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id hD8_WOgfM3Ai for <notmuch@notmuchmail.org>;\r
16  Sun, 16 Aug 2015 02:40:35 -0700 (PDT)\r
17 Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
18  by arlo.cworth.org (Postfix) with ESMTPS id 623AB6DE009A\r
19  for <notmuch@notmuchmail.org>; Sun, 16 Aug 2015 02:40:35 -0700 (PDT)\r
20 Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
21  (envelope-from <david@tethera.net>)\r
22  id 1ZQuPr-0002EQ-I0; Sun, 16 Aug 2015 09:39:47 +0000\r
23 Received: (nullmailer pid 26156 invoked by uid 1000); Sun, 16 Aug 2015\r
24  09:39:34 -0000\r
25 From: David Bremner <david@tethera.net>\r
26 To: David Mazieres expires 2015-09-29 PDT\r
27  <mazieres-n9pds38v5xanvju7995wf543cw@temporary-address.scs.stanford.edu>,\r
28  notmuch@notmuchmail.org\r
29 Subject: Re: Enabling and disabling maildir.synchronize_flags\r
30 In-Reply-To: <87r3orbqfn.fsf@ta.scs.stanford.edu>\r
31 References: <87r3orbqfn.fsf@ta.scs.stanford.edu>\r
32 User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
33  (x86_64-pc-linux-gnu)\r
34 Date: Sun, 16 Aug 2015 11:39:34 +0200\r
35 Message-ID: <87r3n3fu7d.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.18\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42  <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sun, 16 Aug 2015 09:40:37 -0000\r
51 \r
52 dm-list-email-notmuch@scs.stanford.edu writes:\r
53 \r
54 > It seems that disabling it should simply be safe.  But re-enabling, one\r
55 > risks losing tags, as the next notmuch new will cause old maildir flags\r
56 > to override the xapian database.  So that suggests something like:\r
57 >\r
58 >    notmuch dump > backup\r
59 >    notmuch config set maildir.synchronize_flags false\r
60 >    # Do I need to run notmuch new here?\r
61 >    notmuch restore < backup\r
62 \r
63 Hi David;\r
64 \r
65 Sorry about the long delay. I'm not sure I follow the connection between\r
66 your paragraph above and the the example. The example seems safe, but as\r
67 you say, disabling synching should bs safe anyway.\r
68 \r
69 d\r