incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filippo Fadda <filippo.fa...@programmazione.it>
Subject Re: Contribution: CouchDb dump and reload
Date Fri, 04 Oct 2013 00:28:56 GMT
Is it basically an all_docs + include_docs?

-Filippo

On Oct 3, 2013, at 11:51 PM, Alexander Shorin wrote:

> On Fri, Oct 4, 2013 at 1:28 AM, Jens Alfke <jens@couchbase.com> wrote:
>> On Oct 3, 2013, at 11:43 AM, Vivek Pathak <vpathak@orgmeta.com> wrote:
>> 
>>> Just fyi,  there is couchdb-dump available in
>>> tihttp://code.google.com/p/couchdb-python/
>> 
>> Looks like these two tools use entirely different data formats. Has anyone thought
of defining a common format for database dumps?
> 
> I think it will be hard to define such.
> 
> Dumping CouchDB data as JSON looks intuitive and requires less
> additional actions for import/export. Having couchdb-python approach
> with multipart format provides lesser footprint, but requires a more
> tricky processing (boundaries, headers). Both solutions may use
> CouchDB API without any additional data conversion.  And both requires
> a lot of disk space, much more than if you just copy database file or
> make a replica of it, unless you xz-zip the output.
> 
> --
> ,,,^..^,,,


Mime
View raw message