From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6241806232044175360 X-Received: by 10.112.135.234 with SMTP id pv10mr435734lbb.24.1453310108272; Wed, 20 Jan 2016 09:15:08 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.25.143.6 with SMTP id r6ls316695lfd.97.gmail; Wed, 20 Jan 2016 09:15:07 -0800 (PST) X-Received: by 10.112.204.41 with SMTP id kv9mr4874269lbc.0.1453310107800; Wed, 20 Jan 2016 09:15:07 -0800 (PST) Return-Path: Received: from mr.tuwien.ac.at (mr1.kom.tuwien.ac.at. [128.130.2.109]) by gmr-mx.google.com with ESMTPS id q64si799734wmg.0.2016.01.20.09.15.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2016 09:15:07 -0800 (PST) Received-SPF: pass (google.com: domain of mbaehr@email.archlab.tuwien.ac.at designates 128.130.2.109 as permitted sender) client-ip=128.130.2.109; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mbaehr@email.archlab.tuwien.ac.at designates 128.130.2.109 as permitted sender) smtp.mailfrom=mbaehr@email.archlab.tuwien.ac.at; dmarc=fail (p=NONE dis=NONE) header.from=tuwien.ac.at Received: from email.archlab.tuwien.ac.at (email.archlab.tuwien.ac.at [128.131.118.17]) by mr.tuwien.ac.at (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id u0KHF6Jq030723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jan 2016 18:15:06 +0100 Received: from mbaehr by email.archlab.tuwien.ac.at with local (Exim 4.72) (envelope-from ) id 1aLwLa-0001je-5u; Wed, 20 Jan 2016 18:15:06 +0100 Date: Wed, 20 Jan 2016 18:15:06 +0100 From: Martin =?iso-8859-1?Q?B=E4hr?= To: Mark Alexander Cc: supmua Subject: Re: [sup] offsets for mbox broken Message-ID: <20160120171506.GM24197@email.archlab.tuwien.ac.at> References: <1453283603-sup-5823@email.archlab.tuwien.ac.at> <1453299579-sup-1626@t60p> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1453299579-sup-1626@t60p> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by amavisd-new on vc9.kom.tuwien.ac.at On Wed, Jan 20, 2016 at 09:22:53AM -0500, Mark Alexander wrote: > 1. Use sup-dump to make an ASCII dump of the message state and tags. > 2. Move the Xapian index (~/.sup/xapian) to some other location. > 3. Used sup-restore to read the dump created in step 1. > > I don't know if this going to work for you, but it might be worth > a try since your index is broken. wow, thank you! i don't see how it could not work. sup-dump only stores the message-id and the labels, that means on restore sup-sync has to find that message and then recreate everything else from the original mbox data. it is essentially doing a fresh import of everything, with the only added information of setting the labels. looks fool-proof to me. the only downside is that at 6GB of emails, this is going to take a loooong time. (and so i need to write this with mutt :-( i am certainly going to complete this, but i wonder if there is a faster way, something that doesn't rebuild the whole index, but just resyncs the offsets. greetings, martin. -- eKita - the online platform for your entire academic life -- chief engineer eKita.co pike programmer pike.lysator.liu.se caudium.net societyserver.org secretary beijinglug.org mentor fossasia.org foresight developer foresightlinux.org realss.com unix sysadmin Martin B�hr working in china http://societyserver.org/mbaehr/