On Fri, Oct 4, 2013 at 1:28 AM, Jens Alfke <[email protected]> wrote:
> On Oct 3, 2013, at 11:43 AM, Vivek Pathak <[email protected]> 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.

--
,,,^..^,,,

Reply via email to