Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EE55DF5A for ; Mon, 24 Sep 2012 18:42:56 +0000 (UTC) Received: (qmail 52322 invoked by uid 500); 24 Sep 2012 18:42:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 52292 invoked by uid 500); 24 Sep 2012 18:42:55 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 52284 invoked by uid 99); 24 Sep 2012 18:42:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 18:42:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.45] (HELO mail-qa0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 18:42:48 +0000 Received: by qadc10 with SMTP id c10so3619329qad.11 for ; Mon, 24 Sep 2012 11:42:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=XKVVYKRjyhuoPYU8o+qu5i0GLhdos8IaYg/ahXfNcK8=; b=Y3bcuRGBuIlLG6EmKpCzrisF8X75gbG20+NYQngS6VlCxpTw7nWCb5OFHSgs8TVpqI xc7ed82QTIYtgMYCzkELtwqu1K9U0MI/HhAGUQlYoLYOaet7Spo3ErKj5bVgO0WMYeIQ +0YeemYH0sSDAtNx8AJn/6UKfX7x4yLk2eZwVjJmczDKt+mWI5iHzmLQLX9cQPzLr/Hr 2KEwEDHwnKxEBXgbM2UnFrWuACo6UqmQGhzSiaTxZD+6S/FWsk8xKE1cSqM7bywED6Fl HYATSw5uPqdJ1svQQb07IP9PORqitr/A2gqgunjO9tmd6R+9Ut0+a3DXKdCvwJMEO+Bt pCSQ== MIME-Version: 1.0 Received: by 10.224.184.197 with SMTP id cl5mr34546680qab.28.1348512147391; Mon, 24 Sep 2012 11:42:27 -0700 (PDT) Received: by 10.49.86.74 with HTTP; Mon, 24 Sep 2012 11:42:27 -0700 (PDT) X-Originating-IP: [84.112.19.176] In-Reply-To: References: Date: Mon, 24 Sep 2012 20:42:27 +0200 Message-ID: Subject: Re: recovering data from an unfinished compaction db From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkY6tFMYrbNQikC5H56mv9jltAZoO962gy9qHnP7+hgCwdO9ijVUuoGzBrEhUjgk5OLNmsN On 22 September 2012 11:56, Rudi Benkovi=C4=8D wrote: > Hi, > > I have a .couch file where compaction hasn't finished its job and > we've lost the pre-compaction production DB file (an unfortunate > sysadmin error). Running CouchDB 1.2.0, so the new, corrupted file is > in disk format version 6, with snappy compression. > > I've tried using recover-couchdb > (https://github.com/jhs/recover-couchdb), but it crashes with the > message that disk format 6 isn't supported. I've also tried dropping > in 1.2.0 sources, but that also didn't work. > > Anyway, any hints on how to recover the data? 180GB file, lots of attachm= ents. > > Many thanks! > > --Rudi Hi Rudi, If you can, jump on #couchdb IRC channel on freenode & let's get you some real-time help on this. A+ Dave