incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Pathak <vpat...@orgmeta.com>
Subject Re: Contribution: CouchDb dump and reload
Date Sat, 05 Oct 2013 09:31:14 GMT
I use couchdb-python and zip the output.  The dump is useful because it 
backs up everything including design docs.

I was wondering if link to this tool should be placed here: 
http://wiki.apache.org/couchdb/CouchDB_tools

Thanks

On 10/3/13 5: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