couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: recovering data from an unfinished compaction db
Date Sat, 22 Sep 2012 12:40:56 GMT
The compacted file is a valid couchdb database, it should not be
"corrupted", simply rename it to .couch.

Obviously you will have lost any data that didn't make it over to the
.compact file from the original .couch file that you have mistakenly
deleted.

B.

On 22 September 2012 10:56, Rudi Benkovič <rudib@whiletrue.com> 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 attachments.
>
> Many thanks!
>
> --Rudi

Mime
View raw message