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 5B2E8D6CB for ; Sat, 22 Sep 2012 09:56:40 +0000 (UTC) Received: (qmail 97820 invoked by uid 500); 22 Sep 2012 09:56:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97469 invoked by uid 500); 22 Sep 2012 09:56:32 -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 97416 invoked by uid 99); 22 Sep 2012 09:56:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 09:56:30 +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 (athena.apache.org: local policy) Received: from [209.85.216.180] (HELO mail-qc0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 09:56:25 +0000 Received: by qcmv28 with SMTP id v28so3198748qcm.11 for ; Sat, 22 Sep 2012 02:56:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=bsyJtewQbcJfo6LDzFaEP26hwPMng6REL2cVV1dxY98=; b=WI4kODo+yzks/SrkrPVv64p3jGAn+cERMKlLVac5IUNeegKcC6H2PHqeduUOFDL9lL cj0k1u1gaIIBYx/DY2aIDpRY4zUR2o2+cZ/0yXeUkEVbv881JNEDRKyxTn8RFR3wh8Mt X3RLEDqslsy9iosJNSzh+LRBQKQarcfk6WMlWtBwOS5ut5Wtuqz8sEDtHUfI99wugvcL I7cFTo0UuH+t1i00VYOz59txJE8q4WHLkikDpqW99V2/9uRnELz8JlII76WkNi5HQiDK ygM5ArbECcHEwReOWtVEBEyNg5h9bhZDt+7/km7gIUrnu5e5witM7xsSNMnQLzjtxY5P tG1Q== MIME-Version: 1.0 Received: by 10.224.1.69 with SMTP id 5mr18035085qae.61.1348307764163; Sat, 22 Sep 2012 02:56:04 -0700 (PDT) Received: by 10.229.118.88 with HTTP; Sat, 22 Sep 2012 02:56:04 -0700 (PDT) Date: Sat, 22 Sep 2012 11:56:04 +0200 Message-ID: Subject: recovering data from an unfinished compaction db From: =?ISO-8859-2?Q?Rudi_Benkovi=E8?= To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQliHfZ6DNSMJDkuzKC+AYphj7e4Rj7tCNQBe3+Y8BT6ZD4HjTN3aO/UBBy6tha0m+DUGsn2 X-Virus-Checked: Checked by ClamAV on apache.org 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 attachments. Many thanks! --Rudi